The complementary color of #0A0C31 is the color #312E0A
The HSL model was used to determine the complementary color