#1D1F26 Hex Color

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

Hex color #1d1f26 graphic
This dusty, near-black indigo offers a serious tone with muted, ashy undertones. Because #1d1f26 sits on the edge of grey and blue, it works better as a moody, full-page background than as a small accent. White text provides excellent readability against it, making it a reliable choice for dark mode interfaces. The hex code for this dim, structured shade is #1d1f26.

Questions about #1d1f26

What is #1d1f26 in RGB, HSL and CMYK?
In RGB, #1d1f26 is rgb(29, 31, 38), in HSL hsl(227, 13%, 13%) and in CMYK 24%, 18%, 0%, 85%.
Does #1d1f26 work well for large text blocks?
#1d1f26 serves as an excellent, softer alternative to pure black for body text on light backgrounds. It provides sufficient contrast for readability while appearing less harsh on the eyes during extended periods of reading on digital screens.
What colors pair well with #1d1f26?
This shade acts as a neutral anchor and pairs perfectly with clean white or soft cream for high contrast. For a more sophisticated palette, try accenting it with muted tones like sage or a dusty terracotta.
Is #1d1f26 readable on white or black?
#1d1f26 has a 16.45:1 contrast ratio on white and 1.27: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.