An earthquake of magnitude 2.3 and depth of 16.80 kilometers occurred 3.13 miles from Pittsburg, CA in Contra Costa County at 12:40 AM.