An earthquake of magnitude 3.1 and depth of 5.00 kilometers occurred 3.17 miles from Santa Barbara, CA in Santa Barbara County at 11:15 PM.