#1F2F96 Hex Color

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

Hex color #1f2f96 graphic
#1f2f96 is a dark, saturated blue with a cool violet cast and a firm, serious presence. It suits security, finance, technology, and government branding, especially as a supporting tone beside off-white or burgundy. White text remains highly legible on it, making this color effective for interface headers, buttons, and formal layouts. The hex code is #1f2f96.

Questions about #1f2f96

What is #1f2f96 in RGB, HSL and CMYK?
In RGB, #1f2f96 is rgb(31, 47, 150), in HSL hsl(232, 66%, 35%) and in CMYK 79%, 69%, 0%, 41%.
What colors pair well with #1f2f96?
#1f2f96 pairs well with off-white, burgundy, and charcoal, creating contrast that softens its saturated blue-violet character while preserving a serious, polished feel across digital interfaces, presentations, brand systems, and formal layouts.
What mood does #1f2f96 create in design?
#1f2f96 communicates trust, authority, and technical focus through its dark saturation and cool violet cast, making it a strong choice for security, finance, technology, government, and other formal interfaces that need a confident visual anchor.
Is #1f2f96 readable on white or black?
#1f2f96 has a 11.02:1 contrast ratio on white and 1.90: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.