#18181B Hex Color

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

Hex color #18181b graphic
This near-black grey provides a sophisticated foundation for modern dark-mode interfaces. With a contrast ratio of 17.7:1 against white, it ensures excellent readability for small body text. The hex code for this color is #18181b. Designers often pair this shade with vibrant neon accents to create a moody, high-impact aesthetic. It offers a professional, stable alternative to pure black in minimalist digital design.

Questions about #18181b

What is #18181b in RGB, HSL and CMYK?
In RGB, #18181b is rgb(24, 24, 27), in HSL hsl(240, 6%, 10%) and in CMYK 11%, 11%, 0%, 89%.
Why use #18181b instead of pure black for interface design?
#18181b provides a softer visual experience that reduces eye strain while maintaining a high contrast ratio for readable typography. This near-black tone mimics natural shadows and depth more realistically than true black, making it ideal for modern, minimalist UI components.
What colors pair best with #18181b for a professional UI palette?
This neutral gray pairs effortlessly with vibrant accent colors, specifically cyan or neon green for high-impact buttons. For a more subtle, sophisticated look, combine it with muted gold or warm beige to create a clean, professional aesthetic that feels grounded.
Is #18181b readable on white or black?
#18181b has a 17.71:1 contrast ratio on white and 1.18: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.