An earthquake of magnitude 2.1 and depth of 2.70 kilometers occurred 7.49 miles from Niland, CA in Imperial County at 11:42 PM.