#050512 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

An inky, near-black shade with faint blue undertones, #050512 provides intense contrast for modern UI layouts. While standard black can feel harsh on digital screens, this muted option offers a softer, more sophisticated base for premium branding. Because it maintains a high 20.3:1 contrast ratio against white, it works well for both bold headers and body text in dark mode interfaces.
Questions about #050512
What is #050512 in RGB, HSL and CMYK?
In RGB, #050512 is rgb(5, 5, 18), in HSL hsl(240, 57%, 5%) and in CMYK 72%, 72%, 0%, 93%. Browse more shades of black with names and hex codes.
Is #050512 better for UI than pure black?
#050512 is often superior to pure black in digital interfaces because the subtle blue undertones reduce eye strain while maintaining a high 20.3:1 contrast ratio against white. This makes your text readable and your dark mode designs feel significantly more premium.
What colors pair well with #050512?
Use #050512 as a foundational base paired with crisp white for maximum readability or soft cool gray accents to maintain a monochromatic, modern aesthetic. Because it is so deep, it also works beautifully when accented with vibrant electric blues or muted teals.
Is #050512 readable on white or black?
#050512 has a 20.25:1 contrast ratio on white and 1.03: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.