#2F343E color
The hex color #2F343E is a dark, grayish blue.
In the RGB color model it is made of 18.4% red, 20.4% green and 24.3% blue (47, 52, 62).
Its hue angle is 220°, with 14% saturation and 21% lightness. For print, the CMYK equivalent is 24% cyan, 16% magenta, 0% yellow and 76% black.
The closest named color is Total Eclipse (#303543), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.49:1).
#2F343E color codes
| HEX | #2F343E | |
|---|---|---|
| RGB | rgb(47, 52, 62) | |
| RGB percent | rgb(18.4%, 20.4%, 24.3%) | |
| HSL | hsl(220, 14%, 21%) | |
| HSV / HSB | hsv(220, 24%, 24%) | |
| CMYK | cmyk(24%, 16%, 0%, 76%) | |
| CIE LAB | lab(21.61, 0.5, -6.98) | |
| CIE LCH | lch(21.61, 6.99, 274.13) | |
| CIE XYZ | xyz(3.27, 3.408, 5.042) | |
| Decimal | 3093566 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F343E, 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 #2F343E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.49:1 | Pass | Pass | Pass |
| #2F343E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.49:1 | Pass | Pass | Pass |
| Sample text | 1.68: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 #2F343E looks to people with the most common types of color vision deficiency.
#31353eProtanopia
no red cones#30333eDeuteranopia
no green cones#2b3637Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #2f343e; }
.text { color: #2f343e; }
.border { border: 2px solid #2f343e; }
.transparent { background-color: rgb(47 52 62 / 50%); }
.gradient { background: linear-gradient(to right, #2f343e, #322f3e); }
Similar colors
#303543Total Eclipse#363b43Do Not Disturb#38393fAfter Midnight#37393eArtist’s Charcoal#292b31Night Sky#393f4bInkblot#36383cVulcan#35343fWitches Cauldron
Closest common color name: Gunmetal.
Questions
- What color is #2F343E?
- #2F343E is a dark, grayish blue, closest to the named color Total Eclipse. It belongs to the gray family of colors.
- What is the RGB value of #2F343E?
- The RGB value is 47, 52, 62: 47 red, 52 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #2F343E?
- The complementary color is #3E392F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F343E?
- White text. Black text has a contrast ratio of 1.68:1 and white text 12.49:1. WCAG asks for at least 4.5:1 for normal text.