#2F5251 color
The hex color #2F5251 is a dark, desaturated cyan.
In the RGB color model it is made of 18.4% red, 32.2% green and 31.8% blue (47, 82, 81).
Its hue angle is 178°, with 27% saturation and 25% lightness. For print, the CMYK equivalent is 43% cyan, 0% magenta, 1% yellow and 68% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.58:1).
#2F5251 color codes
| HEX | #2F5251 | |
|---|---|---|
| RGB | rgb(47, 82, 81) | |
| RGB percent | rgb(18.4%, 32.2%, 31.8%) | |
| HSL | hsl(178, 27%, 25%) | |
| HSV / HSB | hsv(178, 43%, 32%) | |
| CMYK | cmyk(43%, 0%, 1%, 68%) | |
| CIE LAB | lab(32.33, -12.91, -3.4) | |
| CIE LCH | lch(32.33, 13.35, 194.77) | |
| CIE XYZ | xyz(5.674, 7.233, 8.88) | |
| Decimal | 3101265 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F5251, 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 #2F5251 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.45:1 | Fail | Fail | Fail |
| Sample text | 8.58:1 | Pass | Pass | Pass |
| #2F5251 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.58:1 | Pass | Pass | Pass |
| Sample text | 2.45: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 #2F5251 looks to people with the most common types of color vision deficiency.
#4e4f51Protanopia
no red cones#484a51Deuteranopia
no green cones#205452Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #2f5251; }
.text { color: #2f5251; }
.border { border: 2px solid #2f5251; }
.transparent { background-color: rgb(47 82 81 / 50%); }
.gradient { background: linear-gradient(to right, #2f5251, #2f4252); }
Similar colors
#2f4f4fDark Slate Gray#315955Enchanting Ivy#33534bHunter#2e5c58Lacrosse#345c61Arctic Nights#405e5cRosemary#3c4f4eNight Watch#255c61Deep Sea Diver
Questions
- What color is #2F5251?
- #2F5251 is a dark, desaturated cyan, closest to the named color Dark Slate Gray. It belongs to the teal family of colors.
- What is the RGB value of #2F5251?
- The RGB value is 47, 82, 81: 47 red, 82 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #2F5251?
- The complementary color is #522F30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F5251?
- White text. Black text has a contrast ratio of 2.45:1 and white text 8.58:1. WCAG asks for at least 4.5:1 for normal text.