#1F1F2A Hex Color

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

Hex color #1f1f2a graphic
Dark, dusty, and nearly grey, #1f1f2a is an indigo that reads closer to charcoal until a purple-leaning neighbor gives it away. That muted depth makes it a solid dominant base for dark mode UI, moody layouts, and night sky themes. It flatters warm accents like amber and terracotta, and white text on this hex code reaches about 16.3:1 contrast, comfortably past AA.

Questions about #1f1f2a

What is #1f1f2a in RGB, HSL and CMYK?
In RGB, #1f1f2a is rgb(31, 31, 42), in HSL hsl(240, 15%, 14%) and in CMYK 26%, 26%, 0%, 84%.
What colors pair well with #1f1f2a?
Warm accents like amber, terracotta, or dusty mauve stand out against #1f1f2a because its low saturation leaves room for contrast. Cool pastels tend to wash out beside it.
Is #1f1f2a readable on white or black?
#1f1f2a has a 16.30:1 contrast ratio on white and 1.28: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.