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

Ebony is a dark, neutral grey with a cool, grounded undertone. Because it is desaturated and dim, it serves as a stable base for modern UI designs. White text offers high readability against this shade, making it a reliable choice for dark mode interfaces. The hex code for Ebony is #313337, and it pairs effectively with muted pastels or bright accent colors to create visual depth.
Questions about Ebony
What is the hex code for Ebony?
Ebony is #313337. In RGB that is rgb(49, 51, 55), in HSL hsl(220, 6%, 20%) and in CMYK 11%, 7%, 0%, 78%.
Which accent colors pair best with the Ebony shade #313337?
This neutral base pairs well with muted pastels or high-saturation accents to create visual interest without overwhelming the design. It works particularly well when combined with a soft sage or a bright, electric blue to pull out the cool undertones found in the grey.
Is Ebony readable on white or black?
Ebony has a 12.65:1 contrast ratio on white and 1.65: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.