#0A1F6B Hex Color

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

Hex color #0a1f6b graphic
#0a1f6b is a dark, saturated navy blue with a cool, slightly violet undertone. Its serious depth supports trust and authority in finance, technology, government, and corporate branding. Use it as a dominant UI background with white text, which reaches about 14.8:1 contrast, or pair it with muted burgundy for a richer formal palette. The hex code is #0a1f6b.

Questions about #0a1f6b

What is #0a1f6b in RGB, HSL and CMYK?
In RGB, #0a1f6b is rgb(10, 31, 107), in HSL hsl(227, 83%, 23%) and in CMYK 91%, 71%, 0%, 58%. Browse more shades of blue with names and hex codes.
What colors pair well with #0a1f6b?
#0a1f6b pairs especially well with white for crisp contrast, muted burgundy for a formal palette, and pale cool neutrals that soften its saturated navy depth without competing with its cool violet undertone.
Is #0a1f6b warm or cool?
#0a1f6b reads as a cool navy because its blue base carries a slight violet undertone; that coolness gives it a restrained, dependable feel suited to technology, finance, government, and other formal visual systems.
Does #0a1f6b work with white text?
#0a1f6b works well with white text, delivering about a 14.8:1 contrast ratio and making it a strong choice for dark UI backgrounds, headings, buttons, and other prominent interface elements when accessibility matters.
Is #0a1f6b readable on white or black?
#0a1f6b has a 14.77:1 contrast ratio on white and 1.42: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.