#212837 Hex Color

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

Hex color #212837 graphic
Reach for #212837 when a layout needs a dark, dependable base. This muted, almost grey blue carries inky and ashy undertones, so it reads moody without tipping into black. It shines as a dark mode background or supporting tone in a 60/30/10 palette, and white text hits roughly 14.8:1 contrast on it. The hex code #212837 suits finance, security, and nautical work.

Questions about #212837

What is #212837 in RGB, HSL and CMYK?
In RGB, #212837 is rgb(33, 40, 55), in HSL hsl(221, 25%, 17%) and in CMYK 40%, 27%, 0%, 78%. Browse more shades of black with names and hex codes.
What colors pair well with #212837?
Rust, terracotta, and burgundy warm it up, while pale cream and soft gold keep it refined. Skip mid-greys directly beside it, since similar values can turn muddy and flat.
Is #212837 readable on white or black?
#212837 has a 14.75:1 contrast ratio on white and 1.42: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.