A magnitude 3.0 earthquake struck off the Northern California coast early Sunday morning, according to the US Geological Survey.