An earthquake of magnitude 2.2 and depth of 20.40 kilometers occurred 2.99 miles from Pittsburg, CA in Contra Costa County at 02:09 PM.