The complementary color of #0C42C1 is the color #C18B0C
The HSL model was used to determine the complementary color