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

A near-black indigo with ashy blue-violet undertones, #0c0d18 feels somber, structured, and atmospheric. Its muted, inky darkness suits night-sky themes, meditation spaces, luxury branding, and moody interface backgrounds. The hex code #0c0d18 provides about 19.3:1 contrast with white text, supporting readable small body text.
Questions about #0c0d18
What is #0c0d18 in RGB, HSL and CMYK?
In RGB, #0c0d18 is rgb(12, 13, 24), in HSL hsl(235, 33%, 7%) and in CMYK 50%, 46%, 0%, 91%. Browse more shades of black with names and hex codes.
Which colors pair well with #0c0d18?
It pairs well with muted warm accents such as burgundy, terracotta, antique gold, and soft mauve, which keep the near-black base from feeling flat while preserving its serious, nocturnal character. Use accents sparingly for a controlled palette.
Does #0c0d18 read warm or cool in a palette?
It reads cool because its blue-violet bias shows beneath the very low lightness, but surrounding colors can shift it toward neutral charcoal, especially when paired with warm neutrals or strong saturated hues in a dense palette. Test it beside the intended accent before setting the final background.
Is #0c0d18 readable on white or black?
#0c0d18 has a 19.33:1 contrast ratio on white and 1.08: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.