#2F333A color
The hex color #2F333A is a dark, grayish azure.
In the RGB color model it is made of 18.4% red, 20% green and 22.7% blue (47, 51, 58).
Its hue angle is 218°, with 10% saturation and 21% lightness. For print, the CMYK equivalent is 19% cyan, 12% magenta, 0% yellow and 77% black.
The closest named color is Artist’s Charcoal (#37393E), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.69:1).
#2F333A color codes
| HEX | #2F333A | |
|---|---|---|
| RGB | rgb(47, 51, 58) | |
| RGB percent | rgb(18.4%, 20%, 22.7%) | |
| HSL | hsl(218, 10%, 21%) | |
| HSV / HSB | hsv(218, 19%, 23%) | |
| CMYK | cmyk(19%, 12%, 0%, 77%) | |
| CIE LAB | lab(21.12, 0.08, -4.99) | |
| CIE LCH | lch(21.12, 4.99, 270.9) | |
| CIE XYZ | xyz(3.12, 3.277, 4.47) | |
| Decimal | 3093306 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F333A, 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 #2F333A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.69:1 | Pass | Pass | Pass |
| #2F333A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.69:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #2F333A looks to people with the most common types of color vision deficiency.
#31333aProtanopia
no red cones#30323aDeuteranopia
no green cones#2c3435Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #2f333a; }
.text { color: #2f333a; }
.border { border: 2px solid #2f333a; }
.transparent { background-color: rgb(47 51 58 / 50%); }
.gradient { background: linear-gradient(to right, #2f333a, #312f3a); }
Similar colors
#37393eArtist’s Charcoal#36383cVulcan#363b43Do Not Disturb#292b31Night Sky#38393fAfter Midnight#2b2c30Caviar#3b3c41In the Dark#293135Nightmare Fuel
Closest common color name: Gunmetal.
Questions
- What color is #2F333A?
- #2F333A is a dark, grayish azure, closest to the named color Artist’s Charcoal. It belongs to the gray family of colors.
- What is the RGB value of #2F333A?
- The RGB value is 47, 51, 58: 47 red, 51 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #2F333A?
- The complementary color is #3A362F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F333A?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.69:1. WCAG asks for at least 4.5:1 for normal text.