An earthquake of magnitude 2.1 and depth of 5.40 kilometers occurred 25.22 miles from Ivins, UT in Washington County at 12:00 AM.