#2F343F color
The hex color #2F343F is a dark, grayish blue.
In the RGB color model it is made of 18.4% red, 20.4% green and 24.7% blue (47, 52, 63).
Its hue angle is 221°, with 15% saturation and 22% lightness. For print, the CMYK equivalent is 25% cyan, 17% magenta, 0% yellow and 75% black.
The closest named color is Total Eclipse (#303543), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.47:1).
#2F343F color codes
| HEX | #2F343F | |
|---|---|---|
| RGB | rgb(47, 52, 63) | |
| RGB percent | rgb(18.4%, 20.4%, 24.7%) | |
| HSL | hsl(221, 15%, 22%) | |
| HSV / HSB | hsv(221, 25%, 25%) | |
| CMYK | cmyk(25%, 17%, 0%, 75%) | |
| CIE LAB | lab(21.65, 0.79, -7.59) | |
| CIE LCH | lch(21.65, 7.63, 275.91) | |
| CIE XYZ | xyz(3.297, 3.419, 5.188) | |
| Decimal | 3093567 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F343F, 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 #2F343F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.47:1 | Pass | Pass | Pass |
| #2F343F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.47: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 #2F343F looks to people with the most common types of color vision deficiency.
#313540Protanopia
no red cones#2f333fDeuteranopia
no green cones#2b3638Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #2f343f; }
.text { color: #2f343f; }
.border { border: 2px solid #2f343f; }
.transparent { background-color: rgb(47 52 63 / 50%); }
.gradient { background: linear-gradient(to right, #2f343f, #322f3f); }
Similar colors
#303543Total Eclipse#363b43Do Not Disturb#35343fWitches Cauldron#38393fAfter Midnight#393f4bInkblot#37393eArtist’s Charcoal#292b31Night Sky#222831Infinity
Closest common color name: Gunmetal.
Questions
- What color is #2F343F?
- #2F343F 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 #2F343F?
- The RGB value is 47, 52, 63: 47 red, 52 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #2F343F?
- The complementary color is #3F3A2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F343F?
- White text. Black text has a contrast ratio of 1.68:1 and white text 12.47:1. WCAG asks for at least 4.5:1 for normal text.