The number 30540 (thirty thousand five hundred forty) is written in Roman numerals as follows: XXXDXL