#1B1F25 Hex Color

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

Hex color #1b1f25 graphic
#1b1f25 is an exceptionally dark, desaturated shade that sits on the edge of charcoal and navy. Because of its extreme depth, it serves best as a dominant dark mode background rather than a standard accent color. It creates a professional, secure atmosphere that pairs effectively with crisp whites. With a 16.5:1 contrast ratio, this hex code ensures excellent readability for text-heavy UI designs.

Questions about #1b1f25

What is #1b1f25 in RGB, HSL and CMYK?
In RGB, #1b1f25 is rgb(27, 31, 37), in HSL hsl(216, 16%, 13%) and in CMYK 27%, 16%, 0%, 85%. Browse more shades of black with names and hex codes.
Where should I use #1b1f25 in a UI design?
#1b1f25 works best as a primary dark mode background or structural container rather than an accent color. Because of its deep, desaturated nature, it provides a stable, professional canvas that lets your content and typography stand out with high contrast.
What colors pair well with #1b1f25?
This deep tone pairs effectively with crisp whites or very light grays to ensure high readability. For a sophisticated palette, consider using it alongside muted teal or subtle slate accents to maintain a professional, cohesive look without overwhelming the dark theme.
Is #1b1f25 readable on white or black?
#1b1f25 has a 16.54:1 contrast ratio on white and 1.26: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.