An earthquake of magnitude 1.7 and depth of 8.40 kilometers occurred 2.21 miles from San Ramon, CA in Contra Costa County at 09:54 AM.