#1B212E Hex Color

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

Hex color #1b212e graphic
This extremely dark, desaturated blue leans into ash and ink tones. It provides a serious, professional backdrop for interfaces. Because of its heavy saturation, #1b212e excels as a dark mode background where white text offers high 16.1:1 contrast. Use it sparingly, as it can feel muddy if applied to small UI elements. The hex code for this moody shade is #1b212e.

Questions about #1b212e

What is #1b212e in RGB, HSL and CMYK?
In RGB, #1b212e is rgb(27, 33, 46), in HSL hsl(221, 26%, 14%) and in CMYK 41%, 28%, 0%, 82%. Browse more shades of black with names and hex codes.
Where does #1b212e work best in web design?
#1b212e serves as an ideal background for dark mode interfaces because it maintains a serious, professional weight without the harshness of pure black. It provides a sturdy, muted canvas that lets white or light-toned UI elements stand out with high readability.
What colors pair well with #1b212e?
#1b212e pairs best with soft, desaturated accents rather than vibrant neons to maintain its professional character. It works effectively alongside cream for text or slate for secondary sections to create a balanced, modern, and high-contrast color palette.
Is #1b212e readable on white or black?
#1b212e has a 16.10:1 contrast ratio on white and 1.30: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.