An earthquake of magnitude 3.5 and depth of 10.70 kilometers occurred 3.35 miles from San Ramon, CA in Contra Costa County at 12:06 AM.