An earthquake of magnitude 6.3 struck off the Pacific island nation of Vanuatu on Sunday, the GFZ German Research Center for Geosciences said.