Both quakes took place at a depth of 5 km. (Representational image)

Two medium intensity earthquakes hit the Chamba region on the Himachal Pradesh-Jammu and Kashmir border on Monday afternoon, the National Centre For Seismology (NCS) said.

The first tremor, which had a magnitude of 5.0, was reported at around 12.10 pm.

The second one, having a magnitude of 2.7, occurred at 12.57 pm, the NCS said.

Both quakes took place at a depth of 5 km.