#1F3FC1 Hex Color

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

Hex color #1f3fc1 graphic
With its dark value and strong saturation, #1f3fc1 is a cool, deep blue with a slight violet cast. It brings seriousness, trust, and control to technology, finance, government, and security designs. Use it as a dominant background or brand color with white text, which reaches about an 8.3:1 contrast ratio. The hex code is #1f3fc1.

Questions about #1f3fc1

What is #1f3fc1 in RGB, HSL and CMYK?
In RGB, #1f3fc1 is rgb(31, 63, 193), in HSL hsl(228, 72%, 44%) and in CMYK 84%, 67%, 0%, 24%.
What colors pair well with #1f3fc1?
White and pale cool neutrals pair especially well with #1f3fc1, creating crisp contrast without competing with its violet cast. For warmer balance, add muted gold or sand accents sparingly, while charcoal can soften the overall effect in less contrast-heavy layouts.
Does #1f3fc1 work with white text?
#1f3fc1 works well with white text, reaching about an 8.3:1 contrast ratio and meeting WCAG AA and AAA for normal text when the color is rendered as the foreground against white. Recheck contrast after adding transparency, gradients, or overlays.
What mood does #1f3fc1 create in design?
#1f3fc1 creates a serious, controlled mood through its dark value, strong saturation, and cool blue base, while its slight violet cast adds distinction and keeps the shade feeling more expressive than a standard navy. It suits technology, finance, government, and security designs.
Is #1f3fc1 readable on white or black?
#1f3fc1 has a 8.26:1 contrast ratio on white and 2.53: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.