#0C1218 Hex Color

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

Hex color #0c1218 graphic
This sooty, near-black shade carries a somber weight that anchors moody UI designs. Because it is highly desaturated and dim, it works best as a dominant background color for technology or security brands. Pair #0c1218 with vibrant, crisp whites to maintain high contrast, as it can otherwise appear muddy. The hex code for this dark, dusky blue is #0c1218.

Questions about #0c1218

What is #0c1218 in RGB, HSL and CMYK?
In RGB, #0c1218 is rgb(12, 18, 24), in HSL hsl(210, 33%, 7%) and in CMYK 50%, 25%, 0%, 91%. Browse more shades of black with names and hex codes.
How should I use #0c1218 in UI design?
Because #0c1218 is a deep, near-black shade, it serves as an excellent, sophisticated background for technology or security-focused applications. Always pair it with crisp, high-luminance whites or vibrant accent colors to ensure text remains readable and the interface does not feel muddy.
What colors pair well with #0c1218?
This dusky blue creates strong, professional palettes when combined with silver or cool grey tones for a sleek, metallic aesthetic. To introduce warmth without overpowering the dark base, consider adding sharp, neon accents like electric lime or bright orange for a modern interface.
Is #0c1218 readable on white or black?
#0c1218 has a 18.82:1 contrast ratio on white and 1.11: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.