#1F403F color
The hex color #1F403F is a very dark, desaturated cyan.
In the RGB color model it is made of 12.2% red, 25.1% green and 24.7% blue (31, 64, 63).
Its hue angle is 178°, with 35% saturation and 19% lightness. For print, the CMYK equivalent is 52% cyan, 0% magenta, 2% yellow and 75% black.
The closest named color is Emerald Forest (#224347), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.27:1).
#1F403F color codes
| HEX | #1F403F | |
|---|---|---|
| RGB | rgb(31, 64, 63) | |
| RGB percent | rgb(12.2%, 25.1%, 24.7%) | |
| HSL | hsl(178, 35%, 19%) | |
| HSV / HSB | hsv(178, 52%, 25%) | |
| CMYK | cmyk(52%, 0%, 2%, 75%) | |
| CIE LAB | lab(24.69, -12.36, -3.15) | |
| CIE LCH | lch(24.69, 12.75, 194.28) | |
| CIE XYZ | xyz(3.295, 4.317, 5.361) | |
| Decimal | 2048063 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F403F, 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 #1F403F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.86:1 | Fail | Fail | Fail |
| Sample text | 11.27:1 | Pass | Pass | Pass |
| #1F403F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.27:1 | Pass | Pass | Pass |
| Sample text | 1.86: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 #1F403F looks to people with the most common types of color vision deficiency.
#3c3d3fProtanopia
no red cones#37393fDeuteranopia
no green cones#0e4240Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #1f403f; }
.text { color: #1f403f; }
.border { border: 2px solid #1f403f; }
.transparent { background-color: rgb(31 64 63 / 50%); }
.gradient { background: linear-gradient(to right, #1f403f, #1f3040); }
Similar colors
#224347Emerald Forest#12403cBotanical Night#27454aMysterious Waters#1c3d44Sunken Harbour#2f4f4fDark Slate Gray#133337Elite Teal#1c3b42Royal Neptune#2d454aLittle Mermaid
Questions
- What color is #1F403F?
- #1F403F is a very dark, desaturated cyan, closest to the named color Emerald Forest. It belongs to the gray family of colors.
- What is the RGB value of #1F403F?
- The RGB value is 31, 64, 63: 31 red, 64 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #1F403F?
- The complementary color is #401F20, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F403F?
- White text. Black text has a contrast ratio of 1.86:1 and white text 11.27:1. WCAG asks for at least 4.5:1 for normal text.