#0C181C Hex Color

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

Hex color #0c181c graphic
This near-black cyan brings a moody, industrial feel to UI designs. Because #0c181c is so dark and muted, it works best as a background that anchors bright, high-contrast typography. It provides an excellent, readable base for white text, offering high clarity for long-form content. Use this hex code when you need to avoid the harshness of pure black while maintaining serious depth.

Questions about #0c181c

What is #0c181c in RGB, HSL and CMYK?
In RGB, #0c181c is rgb(12, 24, 28), in HSL hsl(195, 40%, 8%) and in CMYK 57%, 14%, 0%, 89%.
How does #0c181c differ from a standard black?
#0c181c contains subtle cyan undertones that give it a colder, more industrial presence than neutral black. This slight shift in hue makes it a sophisticated choice for modern website backgrounds, providing depth without the stark, flat intensity of pure black.
What colors pair best with #0c181c?
This color pairs beautifully with white or very light off-white text to maintain high contrast and readability. For accents, using a muted teal or a soft silver creates a cohesive, tech-focused palette that emphasizes the cyan undertones found in the dark base.
Is #0c181c readable on white or black?
#0c181c has a 18.05: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.