An earthquake of magnitude 3.4 and depth of 3.00 kilometers occurred 2.16 miles from Alamo, CA in Contra Costa County at 02:51 AM.