#1F2AC6 Hex Color

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

Hex color #1f2ac6 graphic
Reach for #1f2ac6 when a layout needs a dominant base with authority, like a finance dashboard or dark mode header. This navy-leaning blue is saturated and cool, so it reads serious without going black. It flatters burgundy and warm brass better than the usual gray pairings. White text sits comfortably on top at about 9.5:1 contrast, well past WCAG AA for body copy. The hex code #1f2ac6 earns its place as a 60 percent base, not a small accent.

Questions about #1f2ac6

What is #1f2ac6 in RGB, HSL and CMYK?
In RGB, #1f2ac6 is rgb(31, 42, 198), in HSL hsl(236, 73%, 45%) and in CMYK 84%, 79%, 0%, 22%.
What colors pair well with #1f2ac6?
Warm accents like burgundy, brass, or amber balance this blue's coolness and keep it from feeling flat. For a quieter palette, pair it with soft slate gray and off-white.
Is #1f2ac6 readable on white or black?
#1f2ac6 has a 9.52:1 contrast ratio on white and 2.20: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.