#1A237E Hex Color

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

Hex color #1a237e graphic
#1a237e is a saturated, midnight blue with a cold, serious temperament. Because of its dark depth, it serves as a commanding background or dominant base for corporate and tech identities. White text offers high legibility against this shade, with a 13.2:1 contrast ratio that exceeds accessibility standards. Pair it with soft cream accents to reduce its severity, as it can feel imposing when used alone.

Questions about #1a237e

What is #1a237e in RGB, HSL and CMYK?
In RGB, #1a237e is rgb(26, 35, 126), in HSL hsl(235, 66%, 30%) and in CMYK 79%, 72%, 0%, 51%.
How can I use #1a237e effectively in UI design?
This color excels as a dominant background or primary branding element for tech-focused identities because it feels stable and professional. Since it is extremely dark, always use white or very light text to ensure your content remains readable and accessible.
What colors pair well with #1a237e?
To soften the intense nature of #1a237e, pair it with soft cream or beige accents, which add warmth without clashing with the cool blue base. Alternatively, pair it with bright gold for a luxurious, high-contrast look that commands attention.
Is #1a237e readable on white or black?
#1a237e has a 13.24:1 contrast ratio on white and 1.58: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.