An earthquake of magnitude 1.7 and depth of 8.50 kilometers occurred 3.50 miles from San Ramon, CA in Contra Costa County at 03:36 AM.