#0C1119 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This almost-black, sooty blue feels somber and serious. Because it sits so close to black, it lacks the muddy, washed-out quality of lighter desaturated blues, making it a powerful dominant background for high-contrast UI designs. White text is exceptionally legible against it, with a 18.9:1 contrast ratio. The hex code for this moody shade is #0c1119.
Questions about #0c1119
What is #0c1119 in RGB, HSL and CMYK?
In RGB, #0c1119 is rgb(12, 17, 25), in HSL hsl(217, 35%, 7%) and in CMYK 52%, 32%, 0%, 90%.
Is #0c1119 a good replacement for standard black in UI design?
#0c1119 serves as a superior alternative to pure black because it provides a softer, more sophisticated look without losing contrast. Its subtle blue undertones prevent the harsh, flat appearance often associated with absolute #000000 in digital interfaces.
Which colors pair effectively with #0c1119?
Soft whites, muted grays, or crisp neons work best with #0c1119 to maintain a balanced visual hierarchy. Because the color is so dark, avoid using other dark, desaturated tones nearby as they tend to bleed together and reduce clarity.
Is #0c1119 readable on white or black?
#0c1119 has a 18.92:1 contrast ratio on white and 1.10: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.