#1D1F38 Hex Color

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

Hex color #1d1f38 graphic
#1d1f38 is a dark, heavily muted indigo with gray and blue-violet undertones. Its low saturation gives interfaces a serious, shadowy feel without the harshness of pure black. Use it as a dominant background in dark mode, pairing it with dusty rose or warm ivory for contrast. White text reads clearly on this hex code, at about 16.1:1 contrast.

Questions about #1d1f38

What is #1d1f38 in RGB, HSL and CMYK?
In RGB, #1d1f38 is rgb(29, 31, 56), in HSL hsl(236, 32%, 17%) and in CMYK 48%, 45%, 0%, 78%. Browse more shades of purple with names and hex codes.
What colors pair well with #1d1f38?
#1d1f38 pairs well with warm ivory, dusty rose, and muted mauve, which soften its cool, shadowy base while preserving clear contrast; use these accents for buttons, illustrations, or highlights against a dark indigo background.
Is #1d1f38 warm or cool?
#1d1f38 reads as a cool, muted indigo because its blue-violet undertones outweigh its gray, while its low saturation keeps the shade restrained rather than vivid, making it well suited to serious interfaces, focused workspaces, and quiet brand palettes.
Is #1d1f38 readable on white or black?
#1d1f38 has a 16.08: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.