An earthquake of magnitude 2.4 and depth of 9.10 kilometers occurred 1.64 miles from San Ramon, CA in Contra Costa County at 12:04 AM.