#333937 color
The hex color #333937 is a dark gray.
In the RGB color model it is made of 20% red, 22.4% green and 21.6% blue (51, 57, 55).
Its hue angle is 160°, with 6% saturation and 21% lightness. For print, the CMYK equivalent is 11% cyan, 0% magenta, 4% yellow and 78% black.
The closest named color is Onyx (#353935), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.79:1).
#333937 color codes
| HEX | #333937 | |
|---|---|---|
| RGB | rgb(51, 57, 55) | |
| RGB percent | rgb(20%, 22.4%, 21.6%) | |
| HSL | hsl(160, 6%, 21%) | |
| HSV / HSB | hsv(160, 11%, 22%) | |
| CMYK | cmyk(11%, 0%, 4%, 78%) | |
| CIE LAB | lab(23.36, -3.02, 0.38) | |
| CIE LCH | lch(23.36, 3.04, 172.87) | |
| CIE XYZ | xyz(3.518, 3.906, 4.182) | |
| Decimal | 3356983 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #333937, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #333937 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.79:1 | Pass | Pass | Pass |
| #333937 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.79:1 | Pass | Pass | Pass |
| Sample text | 1.78:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #333937 looks to people with the most common types of color vision deficiency.
#393837Protanopia
no red cones#373737Deuteranopia
no green cones#323938Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #333937; }
.text { color: #333937; }
.border { border: 2px solid #333937; }
.transparent { background-color: rgb(51 57 55 / 50%); }
.gradient { background: linear-gradient(to right, #333937, #333839); }
Similar colors
#353935Onyx#2f3434Phantom Ship#353838Wet Concrete#313330Oil#2b322dTerminal Black#293432Aztec#3b3f40Tamahagane#3b3c36Black Olive
Questions
- What color is #333937?
- #333937 is a dark gray, closest to the named color Onyx. It belongs to the gray family of colors.
- What is the RGB value of #333937?
- The RGB value is 51, 57, 55: 51 red, 57 green and 55 blue on a 0 to 255 scale.
- What is the complementary color of #333937?
- The complementary color is #393335, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #333937?
- White text. Black text has a contrast ratio of 1.78:1 and white text 11.79:1. WCAG asks for at least 4.5:1 for normal text.