#332F36 color
The hex color #332F36 is a dark gray.
In the RGB color model it is made of 20% red, 18.4% green and 21.2% blue (51, 47, 54).
Its hue angle is 274°, with 7% saturation and 20% lightness. For print, the CMYK equivalent is 6% cyan, 13% magenta, 0% yellow and 79% black.
The closest named color is Haiti (#2C2A35), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.12:1).
#332F36 color codes
| HEX | #332F36 | |
|---|---|---|
| RGB | rgb(51, 47, 54) | |
| RGB percent | rgb(20%, 18.4%, 21.2%) | |
| HSL | hsl(274, 7%, 20%) | |
| HSV / HSB | hsv(274, 13%, 21%) | |
| CMYK | cmyk(6%, 13%, 0%, 79%) | |
| CIE LAB | lab(20.06, 3.43, -3.81) | |
| CIE LCH | lch(20.06, 5.12, 311.99) | |
| CIE XYZ | xyz(3.047, 3.003, 3.908) | |
| Decimal | 3354422 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332F36, 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 #332F36 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.6:1 | Fail | Fail | Fail |
| Sample text | 13.12:1 | Pass | Pass | Pass |
| #332F36 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.12:1 | Pass | Pass | Pass |
| Sample text | 1.6: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 #332F36 looks to people with the most common types of color vision deficiency.
#2e3036Protanopia
no red cones#2f3136Deuteranopia
no green cones#333031Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #332f36; }
.text { color: #332f36; }
.border { border: 2px solid #332f36; }
.transparent { background-color: rgb(51 47 54 / 50%); }
.gradient { background: linear-gradient(to right, #332f36, #362f35); }
Similar colors
#2c2a35Haiti#35343fWitches Cauldron#393540Professor Plum#29292fJaguar#352b30Mystical Shadow#3c393dMoonless Night#27252aDarth Vader#28282dAnthracite
Closest common color name: Jet Black.
Questions
- What color is #332F36?
- #332F36 is a dark gray, closest to the named color Haiti. It belongs to the gray family of colors.
- What is the RGB value of #332F36?
- The RGB value is 51, 47, 54: 51 red, 47 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #332F36?
- The complementary color is #32362F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332F36?
- White text. Black text has a contrast ratio of 1.6:1 and white text 13.12:1. WCAG asks for at least 4.5:1 for normal text.