#2F4340 color
The hex color #2F4340 is a dark, grayish spring green.
In the RGB color model it is made of 18.4% red, 26.3% green and 25.1% blue (47, 67, 64).
Its hue angle is 171°, with 18% saturation and 22% lightness. For print, the CMYK equivalent is 30% cyan, 0% magenta, 4% yellow and 74% black.
The closest named color is Night Watch (#3C4F4E), a difference of 4.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.51:1).
#2F4340 color codes
| HEX | #2F4340 | |
|---|---|---|
| RGB | rgb(47, 67, 64) | |
| RGB percent | rgb(18.4%, 26.3%, 25.1%) | |
| HSL | hsl(171, 18%, 22%) | |
| HSV / HSB | hsv(171, 30%, 26%) | |
| CMYK | cmyk(30%, 0%, 4%, 74%) | |
| CIE LAB | lab(26.7, -8.64, -0.74) | |
| CIE LCH | lch(26.7, 8.67, 184.86) | |
| CIE XYZ | xyz(4.105, 4.989, 5.596) | |
| Decimal | 3097408 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F4340, 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 #2F4340 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2:1 | Fail | Fail | Fail |
| Sample text | 10.51:1 | Pass | Pass | Pass |
| #2F4340 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.51:1 | Pass | Pass | Pass |
| Sample text | 2: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 #2F4340 looks to people with the most common types of color vision deficiency.
#414140Protanopia
no red cones#3d3e40Deuteranopia
no green cones#294442Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #2f4340; }
.text { color: #2f4340; }
.border { border: 2px solid #2f4340; }
.transparent { background-color: rgb(47 67 64 / 50%); }
.gradient { background: linear-gradient(to right, #2f4340, #2f3c43); }
Similar colors
#3c4f4eNight Watch#2d454aLittle Mermaid#224347Emerald Forest#27454aMysterious Waters#3c463eDeep Forest#2f4f4fDark Slate Gray#424c4aUrban Chic#293432Aztec
Questions
- What color is #2F4340?
- #2F4340 is a dark, grayish spring green, closest to the named color Night Watch. It belongs to the gray family of colors.
- What is the RGB value of #2F4340?
- The RGB value is 47, 67, 64: 47 red, 67 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #2F4340?
- The complementary color is #432F32, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F4340?
- White text. Black text has a contrast ratio of 2:1 and white text 10.51:1. WCAG asks for at least 4.5:1 for normal text.