#0A0C1F Hex Color

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

Hex color #0a0c1f graphic
As an almost black, inky shade, #0a0c1f brings heavy, somber energy to a palette. This dark indigo feels more grounded than standard black, making it an excellent base for screen backgrounds. It pairs well with warm metallic accents or soft cream text, offering high contrast without the starkness of pure white. The hex code for this moody, ashy color is #0a0c1f.

Questions about #0a0c1f

What is #0a0c1f in RGB, HSL and CMYK?
In RGB, #0a0c1f is rgb(10, 12, 31), in HSL hsl(234, 51%, 8%) and in CMYK 68%, 61%, 0%, 88%. Browse more shades of black with names and hex codes.
Does #0a0c1f function well as a text background?
Yes, #0a0c1f serves as an excellent, sophisticated background for UI designs when paired with soft cream or light gray typography. Because it is slightly softer than pure black, it reduces eye strain while maintaining the necessary high contrast for readable, accessible web content.
What colors pair best with the dark indigo of #0a0c1f?
This deep tone works beautifully with warm metallic accents like gold or brass, which pop against its dark, moody base. You can also create a professional, balanced aesthetic by introducing slate or muted cream tones to soften the overall visual impact.
Is #0a0c1f readable on white or black?
#0a0c1f has a 19.34:1 contrast ratio on white and 1.08: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.