An earthquake of magnitude 2.1 and depth of 7.70 kilometers occurred 2.23 miles from San Ramon, CA in Contra Costa County at 11:43 PM.