#0C1B2F Hex Color

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

Hex color #0c1b2f graphic
#0c1b2f is an extremely dark, desaturated navy that leans into a dusty, ink-like quality. Its heavy weight makes it an effective base for dark mode interfaces where black feels too harsh. Because it offers strong contrast with white text, it works well for serious branding in finance or law. Avoid using it in small, low-contrast UI elements, as it can easily muddy the design.

Questions about #0c1b2f

What is #0c1b2f in RGB, HSL and CMYK?
In RGB, #0c1b2f is rgb(12, 27, 47), in HSL hsl(214, 59%, 12%) and in CMYK 74%, 43%, 0%, 82%. Browse more shades of blue with names and hex codes.
Where should I use the #0c1b2f color in web design?
#0c1b2f is best utilized as a primary background color for dark mode interfaces or as a grounding element in professional brand identities. It offers enough depth to feel premium while avoiding the harsh, flat contrast often associated with pure black backgrounds.
What colors pair well with #0c1b2f?
This deep navy anchors best with crisp whites or very soft off-whites for high-readability text. For secondary accents, try pairing #0c1b2f with a muted gold or a dusty slate to maintain a professional, cohesive aesthetic across the design.
Is #0c1b2f readable on white or black?
#0c1b2f has a 17.30:1 contrast ratio on white and 1.21: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.