#0418AD Hex Color
Deep blue with a serious streak

Deeper than a typical navy, the hex code #0418ad sits between royal blue and midnight, dim and cool. Its low lightness makes it a strong dominant base for dark mode UI, finance, or law enforcement branding. White text reaches about 12.1:1 contrast, so small type stays readable on top. It looks richer next to burgundy than beside camel.
Questions about #0418ad
What is #0418ad in RGB, HSL and CMYK?
In RGB, #0418ad is rgb(4, 24, 173), in HSL hsl(233, 95%, 35%) and in CMYK 98%, 86%, 0%, 32%. Browse more shades of blue with names and hex codes.
What colors pair well with #0418ad?
Warm accents like burgundy, brass, and muted gold bring out its depth, while soft slate gray works as a supporting tone. Avoid pairing it with bright royal blues, which compete with its dimness.
Is #0418ad readable on white or black?
#0418ad has a 12.07:1 contrast ratio on white and 1.73:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.