Year 540 (DXL) was a leap year starting on Sunday of the Julian calendar. In the Roman Empire, it was known as the Year of the Consulship of Iustinus without colleague (or, less frequently, year 1293 Ab urbe condita). The denomination 540 for this year has been used since the early medieval period, when the Anno Domini calendar era became the prevalent method in Europe for naming years.