#1A1F47 Hex Color

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

Hex color #1a1f47 graphic
Dark and muted, #1a1f47 blends indigo with cool navy undertones and low lightness. Its matte quality brings a serious, structured mood to interfaces, branding, and formal layouts. Use this color as a dominant dark-mode background, then add burgundy or soft gray for contrast. The hex code is #1a1f47, with white text reaching about 15.8:1 contrast.

Questions about #1a1f47

What is #1a1f47 in RGB, HSL and CMYK?
In RGB, #1a1f47 is rgb(26, 31, 71), in HSL hsl(233, 46%, 19%) and in CMYK 63%, 56%, 0%, 72%.
What colors pair well with #1a1f47?
Burgundy, soft gray, muted lavender, and warm off-white pair well with #1a1f47, adding contrast without breaking its serious mood; burgundy brings richness, while soft gray and off-white keep layouts restrained.
Is #1a1f47 a warm or cool color?
#1a1f47 reads as a cool color because its deep indigo base carries blue-violet and navy undertones, while its low lightness makes the shade feel reserved and weighty rather than lively.
Is #1a1f47 readable on white or black?
#1a1f47 has a 15.77:1 contrast ratio on white and 1.33: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.