The number 2827 (two thousand eight hundred twenty-seven) is written in Roman numerals as follows: MMDCCCXXVII