#0C131B Hex Color

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

Hex color #0c131b graphic
This extremely dark, desaturated blue acts as a near-black alternative for modern interfaces. Because it is so close to black, #0c131b works best as a background color to reduce eye strain in dark mode designs. It pairs well with muted teals or soft grays to maintain high readability. Since white text creates an excellent 18.7:1 contrast against the hex code, it remains a reliable choice for UI text and data displays.

Questions about #0c131b

What is #0c131b in RGB, HSL and CMYK?
In RGB, #0c131b is rgb(12, 19, 27), in HSL hsl(212, 38%, 8%) and in CMYK 56%, 30%, 0%, 89%. Browse more shades of black with names and hex codes.
When should I use #0c131b instead of standard black?
Use #0c131b to soften the visual intensity of your interface while still maintaining a professional look. It creates a more natural, subtle contrast than pure black, effectively reducing eye fatigue during extended screen time for users viewing data-heavy dashboards.
What color palettes work best with #0c131b?
This deep shade pairs exceptionally well with muted cool tones like slate or steel to create a professional, low-contrast aesthetic. If you need accents, incorporate soft teals or muted golds to make UI elements pop without overwhelming the dark background.
Is #0c131b readable on white or black?
#0c131b has a 18.67:1 contrast ratio on white and 1.12: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.