An earthquake of magnitude 2.0 and depth of 8.00 kilometers occurred 1.13 miles from San Ramon, CA in Contra Costa County at 12:42 AM.