An earthquake of magnitude 3.8 and depth of 10.60 kilometers occurred 0.52 miles from San Ramon, CA in Contra Costa County at 03:57 AM.