The number 27823 (twenty-seven thousand eight hundred twenty-three) is written in Roman numerals as follows: XXVIIDCCCXXIII