#1F1F34 Hex Color

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

Hex color #1f1f34 graphic
A near-black indigo with a muted, inky feel. The hex code #1f1f34 works best as a dominant base in dark mode UI and moody layouts, where its low saturation keeps detail easy on the eyes. Pair it with warm accents like amber, since white text passes on it at about 16:1 contrast.

Questions about #1f1f34

What is #1f1f34 in RGB, HSL and CMYK?
In RGB, #1f1f34 is rgb(31, 31, 52), in HSL hsl(240, 25%, 16%) and in CMYK 40%, 40%, 0%, 80%. Browse more shades of black with names and hex codes.
What colors pair well with #1f1f34?
Warm accents like amber, terracotta, and burnt orange give #1f1f34 life, since the indigo is so muted. Dusty lavender and soft grays suit quieter, tonal palettes built around it.
Is #1f1f34 readable on white or black?
#1f1f34 has a 16.10:1 contrast ratio on white and 1.30: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.