#1F1E52 Hex Color

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

Hex color #1f1e52 graphic
Darker than most navies, #1f1e52 reads like a night sky an hour after sunset. This indigo hex code sits low in both saturation and lightness, which gives designs a serious, grounded mood. It shines as a dominant base in dark mode interfaces and luxury branding, where white text hits about 15.4:1 contrast against it. Pair it with burgundy or muted gold instead of plain gray for a richer palette.

Questions about #1f1e52

What is #1f1e52 in RGB, HSL and CMYK?
In RGB, #1f1e52 is rgb(31, 30, 82), in HSL hsl(241, 46%, 22%) and in CMYK 62%, 63%, 0%, 68%.
What colors pair well with #1f1e52?
Muted gold, burgundy, and dusty rose all flatter #1f1e52 better than the standard grays most dark palettes reach for. For text and icons, white gives the strongest contrast at roughly 15.4:1.
Is #1f1e52 warm or cool?
It reads cool, thanks to its low lightness and blue base. The purple undertone adds a faint warmth that keeps it from feeling as stark as true navy.
Is #1f1e52 readable on white or black?
#1f1e52 has a 15.37:1 contrast ratio on white and 1.36: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.