A strong and shallow 6.2-magnitude earthquake hit off Alaska on Friday, US experts said, but there were no immediate reports of damage or injuries.