#1D1F1A Hex Color

Deep, moody gray with olive undertones

Hex color #1d1f1a graphic
This color is a very dark, desaturated gray with subtle olive undertones. The hex code for this shade is #1d1f1a. It works well for minimalist interfaces where standard black feels too harsh. Because it offers high contrast, white text remains legible against this dark background. Use it as a dominant base for moody, professional web designs instead of pure black to add a touch of softness.

Questions about #1d1f1a

What is #1d1f1a in RGB, HSL and CMYK?
In RGB, #1d1f1a is rgb(29, 31, 26), in HSL hsl(84, 9%, 11%) and in CMYK 6%, 0%, 16%, 88%. Browse more shades of black with names and hex codes.
Why use #1d1f1a instead of pure black?
#1d1f1a feels less harsh than standard black while providing similar readability and contrast levels. It introduces a subtle olive warmth that helps text look slightly softer on the eyes, making it an ideal choice for modern, minimalist user interfaces.
What colors pair well with #1d1f1a?
This shade works effectively with crisp whites for high-contrast text or soft cream tones for a more muted aesthetic. It also creates a professional, grounded look when combined with muted gold accents or desaturated sage greens.
Is #1d1f1a readable on white or black?
#1d1f1a has a 16.62: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.