An earthquake of magnitude 6.4 struck off the Pacific island nation of Vanuatu on Monday, the United States Geological Survey said.