#0A1F2F Hex Color

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

Hex color #0a1f2f graphic
This dusty, desaturated blue feels serious and industrial. The hex code #0a1f2f works best as a primary background for dark mode interfaces. White text offers excellent contrast against this shade, making it a reliable choice for UI readability. Use it alongside bright, saturated accents like lime or coral to lift its heavy mood and avoid a muddy appearance.

Questions about #0a1f2f

What is #0a1f2f in RGB, HSL and CMYK?
In RGB, #0a1f2f is rgb(10, 31, 47), in HSL hsl(206, 65%, 11%) and in CMYK 79%, 34%, 0%, 82%. Browse more shades of blue with names and hex codes.
What colors pair best with #0a1f2f?
Bright, saturated accents like lime or coral work best to lift the heavy mood of #0a1f2f and prevent a muddy appearance. These high-contrast hues add visual interest while maintaining readability against the deep, muted blue background.
Is #0a1f2f suitable for UI background use?
Yes, #0a1f2f is an excellent choice for dark mode interfaces because it offers a soft, professional alternative to pure black. White text maintains superior contrast ratios against this shade, ensuring your typography remains clear and comfortable for users.
Is #0a1f2f readable on white or black?
#0a1f2f has a 16.80:1 contrast ratio on white and 1.24: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.