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

This near-black shade is void of light, appearing somber and mysterious. The hex code #050017 serves as an excellent base for high-contrast dark mode interfaces. Because it offers a 20.6:1 contrast ratio against white text, it remains readable even at small sizes. Pair this deep tone with cool metallic accents to add necessary brightness to your design.
Questions about #050017
What is #050017 in RGB, HSL and CMYK?
In RGB, #050017 is rgb(5, 0, 23), in HSL hsl(253, 100%, 5%) and in CMYK 78%, 100%, 0%, 91%.
How does #050017 perform as a background color for web design?
#050017 functions as a highly effective dark mode base because it creates extreme contrast against white or light gray text. Designers often use this shade for immersive interfaces where they want to reduce eye strain while maintaining a sophisticated, high-end visual aesthetic.
What color accents work best alongside #050017?
To balance the heavy, near-black presence of #050017, incorporate bright metallic tones or saturated cool colors like silver or electric blue. These accents cut through the void-like depth of the background, ensuring your design elements remain distinct, readable, and visually engaging for the end user.
Is #050017 readable on white or black?
#050017 has a 20.61:1 contrast ratio on white and 1.01: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.