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

This extremely dark, unsaturated indigo carries a dusty, muted quality that feels serious and grounded. Because #212842 is so low in chroma, it works best as a moody background or a grounding element rather than a focal point. Pair it with crisp white text to take advantage of its excellent readability, or offset it with soft cream tones for a more sophisticated, balanced interface.
Questions about #212842
What is #212842 in RGB, HSL and CMYK?
In RGB, #212842 is rgb(33, 40, 66), in HSL hsl(227, 33%, 19%) and in CMYK 50%, 39%, 0%, 74%. Browse more shades of blue with names and hex codes.
How should I use #212842 in a digital interface?
Use #212842 as a sophisticated alternative to pure black for backgrounds or large containers. It maintains high contrast with white text while offering a softer, less aggressive look than standard charcoal, which helps reduce eye strain during extended reading.
What colors pair well with the deep tone of #212842?
Is #212842 readable on white or black?
#212842 has a 14.51:1 contrast ratio on white and 1.44: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.