#181822 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#181822 is a very dark, muted indigo-purple with cool blue and violet undertones. Its low lightness creates a serious, mysterious mood suited to dark interfaces, night-sky themes, and luxury branding. Use it as a dominant background with white text, which achieves about 17.6:1 contrast. The hex code #181822 can feel nearly black beside brighter colors.
Questions about #181822
What is #181822 in RGB, HSL and CMYK?
In RGB, #181822 is rgb(24, 24, 34), in HSL hsl(240, 17%, 11%) and in CMYK 29%, 29%, 0%, 87%.
Does #181822 work as a background for white text?
Yes, #181822 works well as a dark background for white text, offering about 17.6:1 contrast and making headings, controls, and interface content highly readable when the surrounding design uses lighter accents.
What colors pair well with #181822?
#181822 pairs best with white and pale cool neutrals for crisp contrast, while muted lavender, icy blue, and soft violet accents reinforce its cool indigo character without overwhelming its nearly black appearance.
Is #181822 readable on white or black?
#181822 has a 17.60:1 contrast ratio on white and 1.19: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.