#06121C Hex Color

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

Hex color #06121c graphic
#06121c is a nearly black blue that brings a somber, ashy weight to any design. Because it sits so close to black, it functions best as a dominant dark mode background rather than a standard accent. Pair it with crisp white text for high legibility, as the extreme contrast hits an 18.9:1 ratio. The hex code for this moody, sooty shade is #06121c.

Questions about #06121c

What is #06121c in RGB, HSL and CMYK?
In RGB, #06121c is rgb(6, 18, 28), in HSL hsl(207, 65%, 7%) and in CMYK 79%, 36%, 0%, 89%.
Why is #06121c effective for web design?
It acts as an ideal dark mode background because it carries a heavy, near-black weight that reduces eye strain while maintaining legibility. The extreme contrast ratio makes white text pop clearly against its deep, ashy blue base for high-quality readability.
What colors should I pair with #06121c?
Crisp white is the safest pairing for high accessibility, but you can introduce subtle warmth with cream or sand for softer contrast. Avoid overly bright neon hues unless used very sparingly as a targeted accent to break the somber mood.
Is #06121c readable on white or black?
#06121c has a 18.90: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.