Ebony Color — #313337: Codes, Palettes & Contrast

Ebony (#313337) color codes in RGB, HSL, and OKLCH, the most readable text color on it, WCAG contrast ratios against white and black, and matching color palettes.

Ebony is a named gray color, ready to use anywhere you need it.

Ebony#313337

Ebony color codes

HEX#313337
RGBrgb(49, 51, 55)
HSLhsl(220, 6%, 20%)
OKLCHoklch(0.321 0.008 264.5)

Browse more gray colors.

Readable text on Ebony

White text (#FFFFFF) has the higher contrast against this background: 12.66:1.

Text colorRatioNormal text AANormal text AAA
Black1.66:1FailFail
White12.66:1PassPass

Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.

Related named colors

Build a palette · Generate a color scale