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

This dusty, inky shade functions as a modern, softer alternative to pure black. The hex code #1f1f2e carries a serious, muted energy that works well for minimalist UI backgrounds. It provides excellent contrast for white text, avoiding the harshness of a true black. Apply this color with restraint, as it can feel muddy when paired with other dull tones.
Questions about #1f1f2e
What is #1f1f2e in RGB, HSL and CMYK?
In RGB, #1f1f2e is rgb(31, 31, 46), in HSL hsl(240, 19%, 15%) and in CMYK 33%, 33%, 0%, 82%. Browse more shades of black with names and hex codes.
When should I use #1f1f2e instead of pure black?
Use #1f1f2e when you need a high-contrast background that feels less jarring and more premium than a standard black hex code. Its subtle blue-grey depth creates a smoother visual transition for white text on digital interfaces.
What colors pair well with #1f1f2e for a balanced palette?
This deep ink shade pairs beautifully with crisp white for readability or soft cream for a warmer, more approachable aesthetic. If you need an accent, try adding a muted sage green to bring out the subtle blue undertones without overwhelming the design.
Is #1f1f2e readable on white or black?
#1f1f2e has a 16.23: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.