The number 1827 (one thousand eight hundred twenty-seven) is written in Roman numerals as follows: MDCCCXXVII