#18054F Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #18054f graphic
Dark and dim, indigo #18054f sits close to navy with a purple pull. Its low lightness makes it a strong base for dark mode, night sky themes, and formal branding. Pair it with muted gold or dusty rose to keep it from reading flat. White text passes contrast easily on this hex code.

Questions about #18054f

What is #18054f in RGB, HSL and CMYK?
In RGB, #18054f is rgb(24, 5, 79), in HSL hsl(255, 88%, 16%) and in CMYK 70%, 94%, 0%, 69%. Browse more shades of purple with names and hex codes.
What text color should I use on #18054f?
White text is the safest choice. It reaches about 17.9:1 contrast on #18054f, well above the 4.5:1 that WCAG AA requires for body text. Light grays also hold up for secondary text.
What colors go well with #18054f?
Muted gold, dusty rose, and burgundy all bring warmth to #18054f without fighting its purple undertone. Treat it as the dominant base rather than an accent.
Is #18054f readable on white or black?
#18054f has a 17.89:1 contrast ratio on white and 1.17: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.