A strong 6.4 magnitude earthquake struck Nicaragua just off its north-western Pacific coastline, the US Geological Survey, which monitors earthquakes worldwide, reported on Sunday.