The complementary color of #170C2E is the color #232E0C
The HSL model was used to determine the complementary color