#1F5FA8 Hex Color

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

Hex color #1f5fa8 graphic
Dark and slightly muted, #1f5fa8 is a cool blue with a steady, serious character. Its moderate saturation suits security, finance, and technology designs without feeling harsh. Use it as a dominant UI background or branding color, pairing it with off-white or muted gold. The hex code #1f5fa8 supports clear white text at about a 6.4:1 contrast ratio.

Questions about #1f5fa8

What is #1f5fa8 in RGB, HSL and CMYK?
In RGB, #1f5fa8 is rgb(31, 95, 168), in HSL hsl(212, 69%, 39%) and in CMYK 82%, 43%, 0%, 34%.
What colors pair well with #1f5fa8?
#1f5fa8 pairs well with off-white for clean contrast, muted gold for a restrained accent, and pale blue for a calmer monochromatic palette without making the overall design feel harsh or overly saturated. These combinations preserve its serious, dependable feel across interfaces, branding, and presentation graphics.
Does #1f5fa8 look warm or cool?
#1f5fa8 reads as a cool blue because its hue leans clearly toward blue rather than purple or green, while its moderate saturation keeps the appearance steady and slightly muted in most layouts. That balance can suggest trust, focus, and professionalism without the intensity of a brighter electric blue.
Is #1f5fa8 readable on white or black?
#1f5fa8 has a 6.44:1 contrast ratio on white and 3.26: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 works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.