An earthquake of magnitude 3.1 and depth of 5.40 kilometers occurred 8.52 miles from Ridgecrest, CA in Kern County at 01:13 AM.