An earthquake of magnitude 2.8 and depth of 3.40 kilometers occurred 1.27 miles from Magna, UT in Salt Lake County at 01:51 PM.