An earthquake of magnitude 2.3 and depth of 20.70 kilometers occurred 7.90 miles from Pittsburg, CA in Contra Costa County at 04:23 AM.