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

This dark, inky blue carries a serious weight that makes it an excellent choice for corporate branding or moody UI backgrounds. With high contrast against white text, #0c172f provides a stable, professional foundation for tech or legal designs. It pairs well with soft gold accents or muted grays, helping you avoid a washed-out look. Use this hex code as a dominant base for a grounded, authoritative aesthetic.
Questions about #0c172f
What is #0c172f in RGB, HSL and CMYK?
In RGB, #0c172f is rgb(12, 23, 47), in HSL hsl(221, 59%, 12%) and in CMYK 74%, 51%, 0%, 82%. Browse more shades of blue with names and hex codes.
What colors pair best with #0c172f?
This deep, inky blue acts as a strong neutral base, allowing high-contrast accents like soft gold, crisp white, or light gray to stand out. Avoid muddy earth tones, as they may clash with the cool, sharp character of #0c172f.
Is #0c172f suitable for text in UI design?
Yes, #0c172f works exceptionally well as a background for white or very light text, providing excellent readability for corporate and legal interfaces. Its heavy saturation ensures that light-colored typography remains readable without appearing washed out or weak.
Is #0c172f readable on white or black?
#0c172f has a 17.80:1 contrast ratio on white and 1.17: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.