#050918 Hex Color

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

Hex color #050918 graphic
For dark backgrounds with more character than flat black, start with #050918. This near-black shade carries a faint blue undertone, so it reads inky instead of gray. The hex code #050918 works best as a dominant base in luxury branding, editorial layouts, and dark mode UI. White text reaches about 19.8:1 contrast on it, so small body text clears WCAG AA with room to spare.

Questions about #050918

What is #050918 in RGB, HSL and CMYK?
In RGB, #050918 is rgb(5, 9, 24), in HSL hsl(227, 66%, 6%) and in CMYK 79%, 63%, 0%, 91%. Browse more shades of black with names and hex codes.
What colors pair well with #050918?
Muted gold, burgundy, and dusty mauve all look richer against #050918 than stark white does. Keep bright accents small, since the near-black base swallows low-contrast detail.
Is #050918 readable on white or black?
#050918 has a 19.83:1 contrast ratio on white and 1.05: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.