An earthquake of magnitude 2.3 and depth of 6.40 kilometers occurred 5.89 miles from Gilroy, CA in Santa Clara County at 01:23 AM.