The complementary color of #0040AD is the color #AD6B00
The HSL model was used to determine the complementary color