An earthquake of magnitude 3.5 and depth of 7.70 kilometers occurred 3.18 miles from San Ramon, CA in Contra Costa County at 04:21 PM.