#0C0B1F Hex Color

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

Hex color #0c0b1f graphic
An inky, near-black indigo, #0c0b1f carries a heavy and somber presence. This shade reads best as a base for dark-mode UI or moody, atmospheric branding where high contrast is necessary. It pairs effectively with cool whites for sharp text legibility, though it can feel muddy if used in large, flat blocks. The hex code for this dim, serious color is #0c0b1f.

Questions about #0c0b1f

What is #0c0b1f in RGB, HSL and CMYK?
In RGB, #0c0b1f is rgb(12, 11, 31), in HSL hsl(243, 48%, 8%) and in CMYK 61%, 65%, 0%, 88%.
When should I use #0c0b1f in my UI design?
This shade functions best as a sophisticated base for dark-mode interfaces where you need a softer alternative to pure black. Because #0c0b1f carries a slight indigo undertone, it creates a more atmospheric and grounded feel than standard charcoal or solid black.
Which colors pair best with the #0c0b1f hex color?
Pair this deep indigo with crisp, cool whites or desaturated metallics to ensure maximum legibility and visual clarity. If you prefer a warmer contrast, it works well alongside muted gold or soft cream accents to break up its heavy, somber intensity.
Is #0c0b1f readable on white or black?
#0c0b1f has a 19.38: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.