An earthquake of magnitude 3.1 and depth of 5.30 kilometers occurred 15.81 miles from Calexico, CA in Imperial County at 12:15 AM.