#2F333C color
The hex color #2F333C is a dark, grayish blue.
In the RGB color model it is made of 18.4% red, 20% green and 23.5% blue (47, 51, 60).
Its hue angle is 222°, with 12% saturation and 21% lightness. For print, the CMYK equivalent is 22% cyan, 15% magenta, 0% yellow and 76% black.
The closest named color is Total Eclipse (#303543), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.65:1).
#2F333C color codes
| HEX | #2F333C | |
|---|---|---|
| RGB | rgb(47, 51, 60) | |
| RGB percent | rgb(18.4%, 20%, 23.5%) | |
| HSL | hsl(222, 12%, 21%) | |
| HSV / HSB | hsv(222, 22%, 24%) | |
| CMYK | cmyk(22%, 15%, 0%, 76%) | |
| CIE LAB | lab(21.2, 0.62, -6.24) | |
| CIE LCH | lch(21.2, 6.27, 275.71) | |
| CIE XYZ | xyz(3.172, 3.298, 4.744) | |
| Decimal | 3093308 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F333C, 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 #2F333C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.65:1 | Pass | Pass | Pass |
| #2F333C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.65: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 #2F333C looks to people with the most common types of color vision deficiency.
#30343cProtanopia
no red cones#2f323cDeuteranopia
no green cones#2c3536Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #2f333c; }
.text { color: #2f333c; }
.border { border: 2px solid #2f333c; }
.transparent { background-color: rgb(47 51 60 / 50%); }
.gradient { background: linear-gradient(to right, #2f333c, #322f3c); }
Similar colors
#303543Total Eclipse#363b43Do Not Disturb#38393fAfter Midnight#292b31Night Sky#37393eArtist’s Charcoal#36383cVulcan#35343fWitches Cauldron#2b2c30Caviar
Closest common color name: Gunmetal.
Questions
- What color is #2F333C?
- #2F333C is a dark, grayish blue, closest to the named color Total Eclipse. It belongs to the gray family of colors.
- What is the RGB value of #2F333C?
- The RGB value is 47, 51, 60: 47 red, 51 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #2F333C?
- The complementary color is #3C382F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F333C?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.65:1. WCAG asks for at least 4.5:1 for normal text.