Guwahati: An earthquake of moderate intensity, measuring 5.4 on the Richter scale, hit the northeast on Tuesday afternoon.