An earthquake of magnitude 2.6 and depth of 6.80 kilometers occurred 1.66 miles from San Ramon, CA in Contra Costa County at 12:27 AM.