#1F3331 color
The hex color #1F3331 is a very dark, grayish spring green.
In the RGB color model it is made of 12.2% red, 20% green and 19.2% blue (31, 51, 49).
Its hue angle is 174°, with 24% saturation and 16% lightness. For print, the CMYK equivalent is 39% cyan, 0% magenta, 4% yellow and 80% black.
The closest named color is Swamp Thing (#162825), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.32:1).
#1F3331 color codes
| HEX | #1F3331 | |
|---|---|---|
| RGB | rgb(31, 51, 49) | |
| RGB percent | rgb(12.2%, 20%, 19.2%) | |
| HSL | hsl(174, 24%, 16%) | |
| HSV / HSB | hsv(174, 39%, 20%) | |
| CMYK | cmyk(39%, 0%, 4%, 80%) | |
| CIE LAB | lab(19.56, -8.59, -1.3) | |
| CIE LCH | lch(19.56, 8.68, 188.59) | |
| CIE XYZ | xyz(2.303, 2.881, 3.34) | |
| Decimal | 2044721 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F3331, 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 #1F3331 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.58:1 | Fail | Fail | Fail |
| Sample text | 13.32:1 | Pass | Pass | Pass |
| #1F3331 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.32:1 | Pass | Pass | Pass |
| Sample text | 1.58: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 #1F3331 looks to people with the most common types of color vision deficiency.
#313131Protanopia
no red cones#2d2e31Deuteranopia
no green cones#183432Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #1f3331; }
.text { color: #1f3331; }
.border { border: 2px solid #1f3331; }
.transparent { background-color: rgb(31 51 49 / 50%); }
.gradient { background: linear-gradient(to right, #1f3331, #1f2b33); }
Similar colors
#162825Swamp Thing#293432Aztec#133337Elite Teal#2b322dTerminal Black#1c3b42Royal Neptune#1c3d44Sunken Harbour#10252aSunken Ship#224347Emerald Forest
Closest common color name: Gunmetal.
Questions
- What color is #1F3331?
- #1F3331 is a very dark, grayish spring green, closest to the named color Swamp Thing. It belongs to the black family of colors.
- What is the RGB value of #1F3331?
- The RGB value is 31, 51, 49: 31 red, 51 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #1F3331?
- The complementary color is #331F21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F3331?
- White text. Black text has a contrast ratio of 1.58:1 and white text 13.32:1. WCAG asks for at least 4.5:1 for normal text.