#05070C Hex Color

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

Hex color #05070c graphic
Darker than charcoal and softer than pure black, this sooty near-black carries a faint blue undertone. The hex code #05070c works best as a dominant base for dark mode UI and moody editorial layouts, where white text reaches roughly 20.2:1 contrast. Pair it with warm brass or amber accents so large surfaces don’t read flat.

Questions about #05070c

What is #05070c in RGB, HSL and CMYK?
In RGB, #05070c is rgb(5, 7, 12), in HSL hsl(223, 41%, 3%) and in CMYK 58%, 42%, 0%, 95%.
Does #05070c work as a background for body text?
Yes. White text on #05070c reaches about 20.2:1 contrast, well above the 4.5:1 required for WCAG AA body text. Light grays and warm off-whites also read clearly on it.
Is #05070c warm or cool?
It reads cool. The faint blue undertone pulls it toward night-sky black, which is why warm accents like amber, brass, or ochre balance it better than cool grays.
What colors pair well with #05070c?
Warm metals and muted tones like burgundy or dull gold flatter it in premium branding. Skip pure black beside it; the two are nearly impossible to tell apart.
Is #05070c readable on white or black?
#05070c has a 20.15:1 contrast ratio on white and 1.04: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.