The epicentre was in the Pacific Ocean and tremors could be felt over 36km (22 miles) away, according to the US Geological Survey.