#0C003C Hex Color

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

Hex color #0c003c graphic
#0c003c is a near-black indigo that feels somber and intensely authoritative. Because of its extremely low lightness, this color works best as a moody, immersive background rather than for fine details. White text offers excellent legibility against its cool, dim surface, providing a stark, high-contrast look suitable for formal or nocturnal design themes. Use it sparingly to ground high-energy palettes.

Questions about #0c003c

What is #0c003c in RGB, HSL and CMYK?
In RGB, #0c003c is rgb(12, 0, 60), in HSL hsl(252, 100%, 12%) and in CMYK 80%, 100%, 0%, 76%.
How should I use #0c003c in UI design?
#0c003c works best as a primary background color for dark mode interfaces rather than text or thin lines, where its extremely low lightness can cause legibility issues. It creates a sophisticated, nocturnal atmosphere that feels more luxurious and intentional than standard pure black.
Does #0c003c pair well with other colors?
Because #0c003c is so dark and cool, it balances beautifully with high-contrast, luminous accents like electric blue or sharp white text. Avoid pairing it with other dark or muted tones, as they will likely vanish against its intense, inky depth.
Is #0c003c readable on white or black?
#0c003c has a 19.42: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.