Ebony Color

#313337 · rgb(49, 51, 55)

Ebony is a dark gray color with the hex code #313337. It is not a CSS keyword, so use the hex value in code; the closest CSS named color is Dark Slate Gray (#2F4F4F). In RGB it is made of 19% red, 20% green and 22% blue.

HEX#313337
RGBrgb(49, 51, 55)
HSLhsl(220, 6%, 20%)
HSV / HSBhsv(220, 11%, 22%)
CMYKcmyk(11%, 7%, 0%, 78%)
Decimal3224375
Closest CSS nameDark Slate Gray
Luminance3.3%
Closest Tailwindgray-800 (#1F2937)

Open in converter Make a gradient Check contrast Pick colors from an image

Contrast & text

White text · 12.66:1 · AAA
Black text · 1.66:1 · fails
#313337 on white · 12.66:1
#313337 on black · 1.66:1

CSS

.text   { color: #313337; }
.bg     { background-color: #313337; }
.border { border: 2px solid #313337; }
.grad   { background: linear-gradient(135deg, #313337, #363430); }

Tints of Ebony

#46474B · #5A5C5F · #6F7073 · #838587 · #98999B · #ADADAF · #C1C2C3 · #D6D6D7 · #EAEBEB

Shades of Ebony

#2C2E32 · #27292C · #222427 · #1D1F21 · #191A1C · #141416 · #0F0F11 · #0A0A0B · #050506

Color combinations

Complementary

#313337 · #363430

Analogous

#303536 · #313337 · #313036

Triadic

#313337 · #363032 · #323630

Split complementary

#313337 · #363130 · #353630

Tetradic

#313337 · #363035 · #363430 · #303631

Colors similar to Ebony

Ebony: questions & answers

What color is #313337?

#313337 is a dark gray. In the RGB model it is made of 19% red, 20% green and 22% blue.

Is Ebony a CSS color name?

No. Ebony is a common color name, not a CSS keyword, so write it as #313337 (or rgb(49, 51, 55)) in CSS. The closest CSS keyword is darkslategray (#2F4F4F).

What is Ebony in RGB?

rgb(49, 51, 55). In HSL it is hsl(220, 6%, 20%), and in CMYK it is approximately cmyk(11%, 7%, 0%, 78%).

What colors go with Ebony?

Its complementary color is #363430. For a calmer scheme, try the analogous colors #303536 and #313036.

Should I use white or black text on Ebony?

White text reads better: contrast is 12.66:1 (WCAG AAA).