The capital of the Western Roman Empire (395-476) was Ravenna.

This is a trick question; most people tend to assume automatically it would have been Rome. Actually, Rome was abandoned as the capital of the Empire already in 283 AD due to frequent malaria outbreaks and moved to Mediolanum (modern-day Milan). Emperor Constantine I the Great moved it to Constantinopolis (Constantinople in English) in 313 - where the capital of the Empire remained until the fall of the Eastern Roman Empire in 1453. Emperor Theodosius divided the Empire to the Eastern Roman Empire under Arcadius and Western Roman Empire under Honorius in 395

Emperor Honorius chose Ravenna in 402 as the capital of the Western Roman Empire because of its defensibility and location. It remained as the capital until the downfall of the Western Roman Empire in 476. As result, Ravenna is still today full of Late Roman architecture and buildings, still in everyday use, earning it the nickname Ravenna l'Antica (The Ancient Ravenna)

Rome suffered serious depopulation during this era. Malaria had infested the Pontine Marshes in the 3rd century, and Rome had become unhealthy to live. Yet it remained as the head of the Roman Catholic Church.

Mediolanum, today's Milan, was initially the capital 395 to 402. It later became one of the most important Italian cities in the Middle Ages. Its population outnumbered Rome and Ravenna, and it is today the second largest city of Italy.

More Info: en.wikipedia.org