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

#0c1f6c is a dark, cool blue with strong saturation and a slightly violet undertone. Its serious, controlled character suits finance, security, government, and corporate branding. Use it as a dominant background with white text, which reaches about 14.7:1 contrast, or pair it with burgundy for a richer formal palette. The hex code is #0c1f6c.
Questions about #0c1f6c
What is #0c1f6c in RGB, HSL and CMYK?
In RGB, #0c1f6c is rgb(12, 31, 108), in HSL hsl(228, 80%, 24%) and in CMYK 89%, 71%, 0%, 58%.
What colors pair well with #0c1f6c?
Burgundy creates a rich, formal pairing with #0c1f6c, while soft gray, white, or pale blue provide cleaner contrast and keep this deep blue from overwhelming large digital layouts or pages.
Why does #0c1f6c feel cool and serious?
#0c1f6c reads as cool because its blue base dominates, while the slight violet undertone adds depth rather than warmth. Its high saturation and low lightness give interfaces a controlled, authoritative mood suited to formal visual systems.
Is #0c1f6c readable on white or black?
#0c1f6c has a 14.70:1 contrast ratio on white and 1.42: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.