Ebony
Ebony is a very dark neutral gray color with the hex code #313337 (hue 220°, saturation 6%, lightness 20%).
- HEX
#313337 - RGB
rgb(49 51 55) - HSL
hsl(220 6% 20%) - OKLCH
oklch(32.1% 0.008 264)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Ebony | #313337 | 49, 51, 55 | 220°, 6%, 20% | 11, 7, 0, 78 | 32.1% 0.008 264 |
Contrast with white text 12.66:1, with black text 1.66:1 — use white text on Ebony.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Ebony
Move the sliders to make Ebony lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#313337 - RGB
rgb(49 51 55) - HSL
hsl(220 6% 20%)
Variations of Ebony
Text on Ebony
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Ebony with color blindness
How Ebony appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Ebony
Six color schemes built on Ebony with classic harmony rules. The complementary scheme pairs it with Jacko Bean (#413628), the color opposite it on the color wheel.
- Ebony Complementary Color Scheme#313337#4D587A#413628#12110E#82714D
- Ebony Analogous Color Scheme#274234#283C44#313337#2D2541#3B2741
- Ebony Triadic Color Scheme#313337#412533#37412A#4C5E87#130D0D
- Ebony Split-complementary Color Scheme#313337#442D21#37412A#0B0C14#734A45
- Ebony Tetradic Color Scheme#313337#40243D#413628#274234#4C5E87
- Ebony Monochromatic Color Scheme#0F0F0F#0F0F0F#313337#54585E#777F86
Nearest CSS named colors
- Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is lighter than Ebony (relative luminance 0.068 vs 0.033) and more saturated. - Midnight Blue (
midnightblue): Midnight Blue (#191970) is darker than Ebony (relative luminance 0.021 vs 0.033) and more saturated. - Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is lighter than Ebony (relative luminance 0.066 vs 0.033) and more saturated. - Maroon (
maroon): Maroon (#800000) is lighter than Ebony (relative luminance 0.046 vs 0.033) and more saturated.
Similar dark gray colors
- After Dark#3C3535
- After Midnight#38393F
- All Nighter#455454
- Ancient Pine#444B43
- Armadillo#484A46
- Arsenic#3B444B
- Artist’s Charcoal#37393E
- Bark#5F5854
- Black Forest#5E6354
- Black Magic#4F4554
- Black Olive#3B3C36
- Black Orchid#525463
- Black Panther#424242
- Black Truffle#463D3E
- Blackwater#545663
- Blindfolded#5A5E61
- Carbon#333333
- Catch of the Day#6C685E
Questions
What is the hex code for Ebony?
#313337 — RGB 49, 51, 55, HSL 220°, 6%, 20%.
Is Ebony a warm or cool color?
Cool — its hue sits at 220° on the color wheel.