The complementary color of #0040CB is the color #CB8B00
The HSL model was used to determine the complementary color