An earthquake of magnitude 2.1 and depth of 3.10 kilometers occurred 2.59 miles from Hayward, CA in Alameda County at 04:58 PM.