#0C0D0C Hex Color

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

Hex color #0c0d0c graphic
This near-black shade offers an intense, somber mood for modern interfaces. Because the hex code #0c0d0c sits so close to pure black, it works best as a primary background or a heavy typography anchor. Pair it with crisp white text to achieve a high-contrast ratio of 19.5:1. This makes it a practical choice for dark mode designs that require readability without the harshness of a standard black background.

Questions about #0c0d0c

What is #0c0d0c in RGB, HSL and CMYK?
In RGB, #0c0d0c is rgb(12, 13, 12), in HSL hsl(120, 4%, 5%) and in CMYK 8%, 0%, 8%, 95%.
Why use #0c0d0c instead of pure black for web backgrounds?
#0c0d0c functions as a softer, more sophisticated alternative to pure black that reduces eye strain in low-light environments. By introducing a tiny amount of blue-green variance, it avoids the harsh, flat appearance of #000000, creating a more professional, premium finish for interfaces.
Is #0c0d0c readable on white or black?
#0c0d0c has a 19.47: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.