The quake struck at 10:44 a.m. off Cape Mendocino in Humboldt County.