#0A0B1C Hex Color

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

Hex color #0a0b1c graphic
#0a0b1c is an inky, near-black indigo with a somber, ashy character. Since it sits at the edge of visibility, this hex code works better than pure black for dark UI backgrounds. It provides excellent readability with white text, boasting a 19.5:1 contrast ratio. Use this shade to ground moody interfaces or to provide a sophisticated base for bright, neon accent colors.

Questions about #0a0b1c

What is #0a0b1c in RGB, HSL and CMYK?
In RGB, #0a0b1c is rgb(10, 11, 28), in HSL hsl(237, 47%, 7%) and in CMYK 64%, 61%, 0%, 89%.
Why use #0a0b1c instead of standard pure black?
#0a0b1c provides a softer, more sophisticated foundation for digital designs because it includes subtle indigo undertones. Pure black often creates harsh contrast on screens, while this near-black shade feels more natural and easier on the eyes for extended reading.
What colors pair well with the #0a0b1c hex color?
This deep indigo works best when paired with bright, high-chroma accents like electric blue or neon lime. For a more subtle palette, use it alongside silver or slate to maintain the cool, sophisticated mood of the overall design.
Is #0a0b1c readable on white or black?
#0a0b1c has a 19.48:1 contrast ratio on white and 1.07: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.