#1D1F27 Hex Color

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

Hex color #1d1f27 graphic
#1d1f27 is an incredibly dark, desaturated indigo that borders on charcoal grey. This moody shade provides a strong base for minimalist interfaces, as it offers superior readability when paired with white text. Use this hex code as a dominant background to ground complex designs, but avoid pairing it with other dark tones to prevent the palette from feeling washed out.

Questions about #1d1f27

What is #1d1f27 in RGB, HSL and CMYK?
In RGB, #1d1f27 is rgb(29, 31, 39), in HSL hsl(228, 15%, 13%) and in CMYK 26%, 21%, 0%, 85%.
What makes #1d1f27 a good choice for interface design?
#1d1f27 functions as a superior alternative to standard black because its subtle indigo undertone adds character to minimalist layouts without sacrificing the readability of white text. It anchors layouts effectively while maintaining a professional and clean visual hierarchy for modern web applications.
What colors pair well with #1d1f27?
Pair #1d1f27 with high-contrast, clean neutrals like off-white or light stone greys to ensure text remains legible at any size. For accent colors, rely on muted jewel tones or soft metallic shades to create a sophisticated balance against its dark, desaturated base.
Is #1d1f27 readable on white or black?
#1d1f27 has a 16.43: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.