#0C171C Hex Color

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

Hex color #0c171c graphic
#0c171c is a nearly black, deeply muted cyan that brings a moody, industrial edge to any palette. Because of its intense darkness, it serves as an excellent base for high-contrast interfaces where white text remains crisp and legible. Pair it with neon accents or soft grays to ground your design. The hex code for this dark, dusty blue tone is #0c171c.

Questions about #0c171c

What is #0c171c in RGB, HSL and CMYK?
In RGB, #0c171c is rgb(12, 23, 28), in HSL hsl(199, 40%, 8%) and in CMYK 57%, 18%, 0%, 89%.
Where does #0c171c work best in interface design?
#0c171c functions perfectly as a soft alternative to pure black for background surfaces and navigation bars. Because it retains a hint of cyan, it reads as more sophisticated and less flat than traditional dark grays, allowing white text to remain crisp.
What colors pair well with #0c171c?
This color anchors vibrant accents like neon cyan or electric lime exceptionally well because of its low saturation. For a more subtle approach, pairing it with soft warm grays or desaturated taupe tones creates a grounded, professional balance.
Is #0c171c readable on white or black?
#0c171c has a 18.18:1 contrast ratio on white and 1.15: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.