An earthquake of magnitude 1.8 and depth of 6.40 kilometers occurred 2.86 miles from Hayward, CA in Alameda County at 06:34 AM.