An earthquake of magnitude 2.8 and depth of 13.30 kilometers occurred 1.64 miles from Oakley, CA in Contra Costa County at 12:46 AM.