#0C0D0D Hex Color
An atmospheric and softer midnight black

#0c0d0d is an ultra-dark grey that functions as a softer, more atmospheric alternative to pure black. Because it remains so close to the darkest end of the spectrum, it provides excellent contrast for white text, which pops with a 19.5:1 ratio. Use this hex code as a base for dark mode interfaces where you want to maintain readability without the harshness of a true void.
Questions about #0c0d0d
What is #0c0d0d in RGB, HSL and CMYK?
In RGB, #0c0d0d is rgb(12, 13, 13), in HSL hsl(180, 4%, 5%) and in CMYK 8%, 0%, 0%, 95%.
Why use #0c0d0d instead of standard black for dark mode?
Using #0c0d0d creates a more atmospheric and grounded interface because it sits just slightly above total blackness. It softens the visual transition between your content and the background, which significantly reduces eye strain for users reading white text on screen.
What colors pair well with #0c0d0d?
This deep tone acts as a neutral anchor for high-contrast palettes, making it ideal for pairing with vibrant accents like electric blue or warm gold. Keep your typography light or white to maintain the high legibility this shade provides.
Is #0c0d0d readable on white or black?
#0c0d0d has a 19.46: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.