#1A1F4E Hex Color
A serious, deep, and professional indigo

This desaturated, dark indigo carries a heavy, professional weight. It works best as a primary background color where a serious or authoritative tone is needed. Because the hex code #1a1f4e offers high contrast, white text remains readable at 15.6:1, making it a reliable choice for dark mode UI. Use it for corporate branding or nautical themes to ground your layout.
Questions about #1a1f4e
What is #1a1f4e in RGB, HSL and CMYK?
In RGB, #1a1f4e is rgb(26, 31, 78), in HSL hsl(234, 50%, 20%) and in CMYK 67%, 60%, 0%, 69%.
Where should I use #1a1f4e in a layout?
This color excels as a primary background or a deep navigation bar because its low luminosity ensures white text remains highly legible. Using #1a1f4e creates a grounded, authoritative foundation that helps lighter accent colors pop without straining the user's eye.
What colors pair well with #1a1f4e?
Is #1a1f4e readable on white or black?
#1a1f4e has a 15.55:1 contrast ratio on white and 1.34: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.