A 6.2-magnitude earthquake struck the northwestern coast of Sulawesi island in Indonesia in the early hours of Friday, killing at least 35 people, authorities said.