#0A0A2E Hex Color

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

Hex color #0a0a2e graphic
This near-black indigo offers a somber, desaturated tone that functions well as a grounding base for dark mode interfaces. Because #0a0a2e is so dark, avoid using it for small text to ensure readability, though it pairs beautifully with high-contrast, warm metallics. The hex code for this cool, moody shade is #0a0a2e, making it a reliable choice for professional branding or structured, nocturnal design themes.

Questions about #0a0a2e

What is #0a0a2e in RGB, HSL and CMYK?
In RGB, #0a0a2e is rgb(10, 10, 46), in HSL hsl(240, 64%, 11%) and in CMYK 78%, 78%, 0%, 82%. Browse more shades of black with names and hex codes.
How should I use #0a0a2e in a layout?
#0a0a2e functions best as a background color for dark mode web design rather than text. Because it is so deep, avoid using it for small or paragraph text to ensure your interface remains legible and accessible for all users.
What colors pair well with #0a0a2e?
#0a0a2e pairs beautifully with high-contrast, warm metallics like gold or copper for a luxury feel. For a more modern approach, use it alongside crisp white or soft cream accents to emphasize its deep, indigo undertones without overwhelming the viewer.
Is #0a0a2e readable on white or black?
#0a0a2e has a 19.16:1 contrast ratio on white and 1.09: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.