#333237 color
The hex color #333237 is a dark gray.
In the RGB color model it is made of 20% red, 19.6% green and 21.6% blue (51, 50, 55).
Its hue angle is 252°, with 5% saturation and 21% lightness. For print, the CMYK equivalent is 7% cyan, 9% magenta, 0% yellow and 78% black.
The closest named color is After Midnight (#38393F), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.71:1).
#333237 color codes
| HEX | #333237 | |
|---|---|---|
| RGB | rgb(51, 50, 55) | |
| RGB percent | rgb(20%, 19.6%, 21.6%) | |
| HSL | hsl(252, 5%, 21%) | |
| HSV / HSB | hsv(252, 9%, 22%) | |
| CMYK | cmyk(7%, 9%, 0%, 78%) | |
| CIE LAB | lab(21.06, 1.63, -3) | |
| CIE LCH | lch(21.06, 3.42, 298.53) | |
| CIE XYZ | xyz(3.195, 3.261, 4.075) | |
| Decimal | 3355191 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #333237, 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 #333237 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.71:1 | Pass | Pass | Pass |
| #333237 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.71:1 | Pass | Pass | Pass |
| Sample text | 1.65: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 #333237 looks to people with the most common types of color vision deficiency.
#313337Protanopia
no red cones#313337Deuteranopia
no green cones#323334Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #333237; }
.text { color: #333237; }
.border { border: 2px solid #333237; }
.transparent { background-color: rgb(51 50 55 / 50%); }
.gradient { background: linear-gradient(to right, #333237, #353237); }
Similar colors
#38393fAfter Midnight#2b2c30Caviar#3c393dMoonless Night#36383cVulcan#37393eArtist’s Charcoal#292b31Night Sky#29292fJaguar#28282dAnthracite
Closest common color name: Jet Black.
Questions
- What color is #333237?
- #333237 is a dark gray, closest to the named color After Midnight. It belongs to the gray family of colors.
- What is the RGB value of #333237?
- The RGB value is 51, 50, 55: 51 red, 50 green and 55 blue on a 0 to 255 scale.
- What is the complementary color of #333237?
- The complementary color is #363732, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #333237?
- White text. Black text has a contrast ratio of 1.65:1 and white text 12.71:1. WCAG asks for at least 4.5:1 for normal text.