#1F474B color
The hex color #1F474B is a dark, desaturated cyan.
In the RGB color model it is made of 12.2% red, 27.8% green and 29.4% blue (31, 71, 75).
Its hue angle is 185°, with 42% saturation and 21% lightness. For print, the CMYK equivalent is 59% cyan, 5% magenta, 0% yellow and 71% black.
The closest named color is Emerald Forest (#224347), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.19:1).
#1F474B color codes
| HEX | #1F474B | |
|---|---|---|
| RGB | rgb(31, 71, 75) | |
| RGB percent | rgb(12.2%, 27.8%, 29.4%) | |
| HSL | hsl(185, 42%, 21%) | |
| HSV / HSB | hsv(185, 59%, 29%) | |
| CMYK | cmyk(59%, 5%, 0%, 71%) | |
| CIE LAB | lab(27.59, -12.7, -6.7) | |
| CIE LCH | lch(27.59, 14.36, 207.82) | |
| CIE XYZ | xyz(4.088, 5.305, 7.464) | |
| Decimal | 2049867 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F474B, 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 #1F474B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.06:1 | Fail | Fail | Fail |
| Sample text | 10.19:1 | Pass | Pass | Pass |
| #1F474B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.19:1 | Pass | Pass | Pass |
| Sample text | 2.06: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 #1F474B looks to people with the most common types of color vision deficiency.
#42444bProtanopia
no red cones#3b3f4bDeuteranopia
no green cones#004a48Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #1f474b; }
.text { color: #1f474b; }
.border { border: 2px solid #1f474b; }
.transparent { background-color: rgb(31 71 75 / 50%); }
.gradient { background: linear-gradient(to right, #1f474b, #1f314b); }
Similar colors
#224347Emerald Forest#27454aMysterious Waters#2f4f4fDark Slate Gray#1c3d44Sunken Harbour#23505aSunken Mystery#2d454aLittle Mermaid#1c3b42Royal Neptune#114c5aNocturnal Expedition
Questions
- What color is #1F474B?
- #1F474B is a dark, desaturated cyan, closest to the named color Emerald Forest. It belongs to the teal family of colors.
- What is the RGB value of #1F474B?
- The RGB value is 31, 71, 75: 31 red, 71 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #1F474B?
- The complementary color is #4B231F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F474B?
- White text. Black text has a contrast ratio of 2.06:1 and white text 10.19:1. WCAG asks for at least 4.5:1 for normal text.