An earthquake of magnitude 0.8 and depth of 3.40 kilometers occurred 1.25 miles from Ontario, CA in San Bernardino County at 03:07 AM.