The number 27874 (twenty-seven thousand eight hundred seventy-four) is written in Roman numerals as follows: XXVIIDCCCLXXIV