#1F3988 Hex Color

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

Hex color #1f3988 graphic
#1f3988 is a dark, moderately saturated blue with a cool, slightly violet undertone. Its low lightness gives layouts a serious, controlled feel suited to finance, security, government, and corporate design. Use it as a dominant background or strong accent with white text, which meets WCAG AA for body copy. The hex code #1f3988 also suits moody interfaces and formal branding.

Questions about #1f3988

What is #1f3988 in RGB, HSL and CMYK?
In RGB, #1f3988 is rgb(31, 57, 136), in HSL hsl(225, 63%, 33%) and in CMYK 77%, 58%, 0%, 47%.
What colors pair well with #1f3988?
#1f3988 pairs well with white for crisp contrast, while burgundy, muted gold, and cool gray create a formal palette without making this dark blue feel flat or overly bright. Use burgundy as a small accent and cool gray for supporting surfaces.
Is #1f3988 readable on white or black?
#1f3988 has a 10.50:1 contrast ratio on white and 1.99: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.