#1F1F2F Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dusty, ink-toned indigo feels serious and grounded. Since it is highly desaturated and dark, #1f1f2f functions as an effective, low-glare dark mode background. White text pops clearly against this shade, maintaining excellent readability. Pair it with muted gold accents to prevent the look from becoming too muddy or flat.
Questions about #1f1f2f
What is #1f1f2f in RGB, HSL and CMYK?
In RGB, #1f1f2f is rgb(31, 31, 47), in HSL hsl(240, 21%, 15%) and in CMYK 34%, 34%, 0%, 82%. Browse more shades of black with names and hex codes.
How can I effectively use #1f1f2f in digital interface design?
#1f1f2f serves as a superior dark mode background because its desaturated, ink-like quality reduces eye strain while maintaining a high contrast ratio against standard white text. It provides a more nuanced, professional alternative to absolute black for modern web dashboards.
Which color accents work best with #1f1f2f?
To prevent this dark indigo from feeling too heavy or flat, pair it with muted gold or warm bronze accents. These metallic tones add just enough luminosity to lift the mood without disrupting the color's serious, understated character.
Is #1f1f2f readable on white or black?
#1f1f2f has a 16.21:1 contrast ratio on white and 1.29: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.