#0C0D3A Hex Color

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

Hex color #0c0d3a graphic
This near-black indigo functions as a sophisticated alternative to pure black in dark-mode UI designs. The hex code #0c0d3a provides a stable, serious foundation that grounds brighter accents. Because it is so dark, use this color primarily as a background base rather than for small text. It creates high-contrast readability when paired with white or soft, desaturated metallics like silver or brushed nickel.

Questions about #0c0d3a

What is #0c0d3a in RGB, HSL and CMYK?
In RGB, #0c0d3a is rgb(12, 13, 58), in HSL hsl(239, 66%, 14%) and in CMYK 79%, 78%, 0%, 77%.
When should I use #0c0d3a instead of pure black?
Use #0c0d3a when you want a softer foundation that maintains the depth of black while feeling less harsh on the eyes. It works exceptionally well in dark-mode interfaces, providing a rich base that allows white text or bright metallics to pop without excessive contrast fatigue.
What colors complement #0c0d3a in a design scheme?
This near-black indigo pairs beautifully with clean white for high-contrast accessibility or metallic tones like silver for a modern, tech-focused look. You can also ground vibrant, saturated neons against it to create a balanced UI that feels professional rather than overwhelming.
Is #0c0d3a readable on white or black?
#0c0d3a has a 18.51:1 contrast ratio on white and 1.13: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.