An earthquake of magnitude 2.2 and depth of 6.90 kilometers occurred 2.67 miles from Castro Valley, CA in Alameda County at 12:33 AM.