This was announced by the European-Mediterranean Seismological Center.
The epicenter of the tremors was 343 km southeast of the city of Port Blair.
The focus was located at a depth of 30 km.
Earlier, an earthquake with a magnitude of 5.8 was recorded off the coast of Indonesia.