HMS Visby (K31) is the lead ship in the new class of Visby-class corvettes ordered by the Swedish Government and built by Kockums.