A 5.4 magnitude earthquake hit central Italy Wednesday, the US Geological Survey said, about 50 miles north of the site of a deadly quake in August that killed nearly 300 people.