A 3.6 magnitude earthquake rattled the Mountain Center area of Riverside County, the U.S. Geological Survey said.