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

Not quite navy and nowhere near black, #212b40 is a dark blue heavy with gray. The hex code reads matte and subdued, which makes it a strong base for dark mode UI and moody layouts rather than a lively accent. White text hits about 14.1:1 contrast on it. Pair it with burgundy or dusty rose; bright primaries flatten it.
Questions about #212b40
What is #212b40 in RGB, HSL and CMYK?
In RGB, #212b40 is rgb(33, 43, 64), in HSL hsl(221, 32%, 19%) and in CMYK 48%, 33%, 0%, 75%. Browse more shades of blue with names and hex codes.
What text color works best on #212b40?
White text works best on #212b40, reaching about 14.1:1 contrast, well above the 4.5:1 needed for WCAG AA body text. Light gray and pale neutrals also stay readable, while mid-tone colors drop below safe levels.
What colors pair well with #212b40?
#212b40 pairs well with burgundy and dusty rose, which warm up its gray undertone without clashing. Brass and warm gold accents also work, while bright primaries tend to make it look flat.
Is #212b40 readable on white or black?
#212b40 has a 14.14:1 contrast ratio on white and 1.48: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.