The complementary color of #0A1F31 is the color #311C0A
The HSL model was used to determine the complementary color