An earthquake of magnitude 2.7 and depth of 6.50 kilometers occurred 2.16 miles from Union City, CA in Alameda County at 12:19 AM.