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