The number 40465 (forty thousand four hundred sixty-five) is written in Roman numerals as follows: XLCDLXV