#0C1821 Hex Color

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

Hex color #0c1821 graphic
Near-black with a dusty blue undertone, #0c1821 provides a serious, muted foundation for high-contrast interfaces. This extremely dark shade pairs surprisingly well with muted teals or sharp, metallic silvers. Because it is so deep, it works best as a primary background color rather than for fine text, ensuring white type remains crisp and legible against its dense, moody surface.

Questions about #0c1821

What is #0c1821 in RGB, HSL and CMYK?
In RGB, #0c1821 is rgb(12, 24, 33), in HSL hsl(206, 47%, 9%) and in CMYK 64%, 27%, 0%, 87%.
Does #0c1821 work well for UI backgrounds?
#0c1821 functions excellently as a primary background color because it provides a dense, moody surface that keeps white or light-colored text crisp and highly legible. Use it in high-contrast interfaces where you need to establish a serious, modern, and grounded visual hierarchy.
What colors pair best with #0c1821?
Because of its dusty blue undertone, #0c1821 works beautifully when paired with muted teal for a harmonious depth or sharp metallic silver to create a striking, clean contrast. Avoid using other very dark, cool colors, as they may muddy the visual clarity.
Is #0c1821 readable on white or black?
#0c1821 has a 17.97:1 contrast ratio on white and 1.16: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.