An earthquake of magnitude 3.4 and depth of 13.20 kilometers occurred 1.62 miles from Oakley, CA in Contra Costa County at 12:41 AM.