#0A1F3D Hex Color

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

Hex color #0a1f3d graphic
This dim, ashy blue brings serious authority to any layout. Because it is highly unsaturated, #0a1f3d creates a stable, moody background for technology or corporate interfaces. White text sits comfortably on this shade with excellent legibility. Designers often use this hex code as a base for dark mode interfaces where pure black feels too harsh.

Questions about #0a1f3d

What is #0a1f3d in RGB, HSL and CMYK?
In RGB, #0a1f3d is rgb(10, 31, 61), in HSL hsl(215, 72%, 14%) and in CMYK 84%, 49%, 0%, 76%. Browse more shades of blue with names and hex codes.
When should designers use #0a1f3d instead of pure black?
#0a1f3d works best for dark mode interfaces where pure black feels too harsh or high-contrast against white text. It provides the same authoritative, stable foundation as black but introduces a subtle, sophisticated blue undertone that feels more intentional and less flat on digital screens.
What colors pair well with #0a1f3d for UI design?
Soft, muted neutrals like slate or cool grey create a professional monochromatic look when paired with #0a1f3d. For accent colors that pop without vibrating, look for muted gold or soft coral to bring warmth and balance to the otherwise cool, deep interface.
Is #0a1f3d readable on white or black?
#0a1f3d has a 16.45:1 contrast ratio on white and 1.27: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.