#2F5157 color
The hex color #2F5157 is a dark, desaturated cyan.
In the RGB color model it is made of 18.4% red, 31.8% green and 34.1% blue (47, 81, 87).
Its hue angle is 189°, with 30% saturation and 26% lightness. For print, the CMYK equivalent is 46% cyan, 7% magenta, 0% yellow and 66% black.
The closest named color is Sunken Mystery (#23505A), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.62:1).
#2F5157 color codes
| HEX | #2F5157 | |
|---|---|---|
| RGB | rgb(47, 81, 87) | |
| RGB percent | rgb(18.4%, 31.8%, 34.1%) | |
| HSL | hsl(189, 30%, 26%) | |
| HSV / HSB | hsv(189, 46%, 34%) | |
| CMYK | cmyk(46%, 7%, 0%, 66%) | |
| CIE LAB | lab(32.21, -10.55, -7.4) | |
| CIE LCH | lch(32.21, 12.88, 215.05) | |
| CIE XYZ | xyz(5.834, 7.177, 10.093) | |
| Decimal | 3101015 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F5157, 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 #2F5157 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.44:1 | Fail | Fail | Fail |
| Sample text | 8.62:1 | Pass | Pass | Pass |
| #2F5157 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.62:1 | Pass | Pass | Pass |
| Sample text | 2.44: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 #2F5157 looks to people with the most common types of color vision deficiency.
#4c4f57Protanopia
no red cones#454a57Deuteranopia
no green cones#1d5453Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #2f5157; }
.text { color: #2f5157; }
.border { border: 2px solid #2f5157; }
.transparent { background-color: rgb(47 81 87 / 50%); }
.gradient { background: linear-gradient(to right, #2f5157, #2f3d57); }
Similar colors
#23505aSunken Mystery#2f4f4fDark Slate Gray#3b5760Great Void#345c61Arctic Nights#27454aMysterious Waters#2d454aLittle Mermaid#114c5aNocturnal Expedition#224347Emerald Forest
Questions
- What color is #2F5157?
- #2F5157 is a dark, desaturated cyan, closest to the named color Sunken Mystery. It belongs to the gray family of colors.
- What is the RGB value of #2F5157?
- The RGB value is 47, 81, 87: 47 red, 81 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #2F5157?
- The complementary color is #57352F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F5157?
- White text. Black text has a contrast ratio of 2.44:1 and white text 8.62:1. WCAG asks for at least 4.5:1 for normal text.