The quake struck at 0518 GMT with an epicentre located 77 kilometres (48 miles) west-northwest of the town of Ferndale and at a depth of seven kilometres (4.3 miles), said the USGS, which monitors earthquakes worldwide. 
There were no immediate reports of casualties or damage.