An earthquake of magnitude 1.7 and depth of 6.90 kilometers occurred 4.30 miles from Lafayette, CA in Contra Costa County at 03:01 PM.