An earthquake of magnitude 2.8 and depth of 7.90 kilometers occurred 0.75 miles from Danville, CA in Contra Costa County at 11:52 PM.