#212336 Hex Color

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

Hex color #212336 graphic
Very dark and barely saturated, #212336 is an inky indigo that sits close to midnight navy. The hex code carries a calm, serious mood, which makes it a solid dark mode background or supporting base in a 60/30/10 palette. It flatters dusty rose and warm amber better than bright blues. White text hits about 15.5:1 contrast, well past AA for body copy.

Questions about #212336

What is #212336 in RGB, HSL and CMYK?
In RGB, #212336 is rgb(33, 35, 54), in HSL hsl(234, 24%, 17%) and in CMYK 39%, 35%, 0%, 79%. Browse more shades of black with names and hex codes.
What colors pair well with #212336?
Warm accents like dusty rose, amber, and muted gold bring out its purple undertone. Cool blues and grays tend to flatten it into plain navy, so reach for warmer contrast instead.
Is #212336 a good dark mode background?
Yes. White text against #212336 reaches about 15.5:1 contrast, well past the 4.5:1 AA threshold for body text. Just avoid placing muted purples or dark blues directly against it, since the tones blend together.
Is #212336 readable on white or black?
#212336 has a 15.45:1 contrast ratio on white and 1.35: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.