Sri Lanka's Geological Survey and Mines Bureau said the quake had been felt in several parts of the island.
Geologist Nishantha Attanayake told the Vimasuma.com that reports had come from Colombo, Matara and Kandy from witnesses who had felt the quake.
No tsunami warning was issued.
Sri Lanka's coastal regions were devastated by the Indian Ocean tsunami in December 2004. .