An earthquake of magnitude 2.1 and depth of 6.40 kilometers occurred 6.78 miles from Templeton, CA in San Luis Obispo County at 05:46 AM.