#0C1B5E Hex Color

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

Hex color #0c1b5e graphic
#0c1b5e is a very dark, cool blue with strong saturation and a slight violet cast. Its serious, reliable character suits finance, security, government, and corporate branding. Use it as a dominant background in dark interfaces, pairing it with white text for clear contrast. The hex code for this deep blue is #0c1b5e.

Questions about #0c1b5e

What is #0c1b5e in RGB, HSL and CMYK?
In RGB, #0c1b5e is rgb(12, 27, 94), in HSL hsl(229, 77%, 21%) and in CMYK 87%, 71%, 0%, 63%. Browse more shades of blue with names and hex codes.
What colors pair well with #0c1b5e?
Warm accents such as terracotta, coral, or muted gold create visible contrast against #0c1b5e, while white and pale blue keep the palette crisp and restrained for interfaces, editorial layouts, and formal branding. Reserve warm tones for buttons or highlights.
Does #0c1b5e read as a warm or cool color?
#0c1b5e reads as a cool, very dark blue because its strong blue base is tempered by a slight violet cast rather than red or yellow undertones, giving it a serious, stable character in visual systems.
Is #0c1b5e readable on white or black?
#0c1b5e has a 15.74:1 contrast ratio on white and 1.33: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.