#1240D1 Hex Color

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

Hex color #1240d1 graphic
#1240d1 is a saturated, cool blue with strong depth and vivid energy. Its dark, brilliant character brings focus to calls to action, security interfaces, technology branding, and moody accents. Use it as a focused accent or dominant base with care. The hex code #1240d1 supports white text at about a 7.8:1 contrast ratio.

Questions about #1240d1

What is #1240d1 in RGB, HSL and CMYK?
In RGB, #1240d1 is rgb(18, 64, 209), in HSL hsl(226, 84%, 45%) and in CMYK 91%, 69%, 0%, 18%. Browse more shades of blue with names and hex codes.
What colors pair well with #1240d1?
#1240d1 pairs well with warm off-whites, charcoal, and muted orange accents because these choices soften its cool intensity, preserve readable contrast, and give its saturated blue enough space to lead buttons or branded highlights.
Is #1240d1 readable on white or black?
#1240d1 has a 7.83:1 contrast ratio on white and 2.67: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.