HNLMS K XI was the first of three K XI-class submarines of the Royal Netherlands Navy, built to serve as a patrol vessel in the Dutch colonies.