#212851 Hex Color

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

Hex color #212851 graphic
#212851 is a dark, subdued indigo with cool navy undertones and a matte, inky finish. Its low lightness creates a serious, structured mood suited to dark-mode interfaces, formal branding, and night-sky themes. Use it as a dominant background with warm ivory or burgundy accents. White text has about a 14.1:1 contrast ratio. The hex code is #212851.

Questions about #212851

What is #212851 in RGB, HSL and CMYK?
In RGB, #212851 is rgb(33, 40, 81), in HSL hsl(231, 42%, 22%) and in CMYK 59%, 51%, 0%, 68%.
What colors pair well with #212851?
#212851 pairs well with warm ivory, muted burgundy, and restrained gold accents because their warmth offsets its cool navy undertones without weakening its serious, inky character; use it as a background and reserve brighter accents for buttons, links, or selected states.
Does #212851 read as warm or cool?
#212851 reads as a cool color because its dark indigo base carries clear navy undertones, creating a focused, formal mood that suits navigation bars, dashboards, editorial headers, and night-sky themes more naturally than warm, casual palettes.
Is #212851 readable on white or black?
#212851 has a 14.12: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.