#1A045E Hex Color

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

Hex color #1a045e graphic
#1a045e is a saturated, near-black indigo that feels authoritative and serious. Its extreme darkness makes it an excellent choice for large-scale UI backgrounds where you need high contrast without the harshness of pure black. Pair this shade with soft gold or cream accents to prevent the color from appearing too muddy or flat. The hex code for this cool, professional tone is #1a045e.

Questions about #1a045e

What is #1a045e in RGB, HSL and CMYK?
In RGB, #1a045e is rgb(26, 4, 94), in HSL hsl(255, 92%, 19%) and in CMYK 72%, 96%, 0%, 63%. Browse more shades of purple with names and hex codes.
How should I use #1a045e in UI design?
#1a045e functions as a sophisticated alternative to pure black for large-scale UI surfaces or navigation bars. It provides deep, authoritative contrast when paired with soft cream or muted gold text, ensuring high readability while softening the overall visual impact.
Does #1a045e lean warm or cool?
This is a distinctly cool, saturated indigo that carries significant blue and violet undertones. Because of its extreme depth, the color remains grounded and professional, avoiding the vibrancy of lighter blues while maintaining a strong, authoritative character in digital layouts.
Is #1a045e readable on white or black?
#1a045e has a 17.17:1 contrast ratio on white and 1.22: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.