#2F2E2F color
The hex color #2F2E2F is a dark gray.
In the RGB color model it is made of 18.4% red, 18% green and 18.4% blue (47, 46, 47).
Its hue angle is 300°, with 1% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 0% yellow and 82% black.
The closest named color is Carbon Fibre (#2E2E2E), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.52:1).
#2F2E2F color codes
| HEX | #2F2E2F | |
|---|---|---|
| RGB | rgb(47, 46, 47) | |
| RGB percent | rgb(18.4%, 18%, 18.4%) | |
| HSL | hsl(300, 1%, 18%) | |
| HSV / HSB | hsv(300, 2%, 18%) | |
| CMYK | cmyk(0%, 2%, 0%, 82%) | |
| CIE LAB | lab(19.07, 0.68, -0.48) | |
| CIE LCH | lch(19.07, 0.83, 324.54) | |
| CIE XYZ | xyz(2.662, 2.764, 3.082) | |
| Decimal | 3092015 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F2E2F, 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 #2F2E2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.52:1 | Pass | Pass | Pass |
| #2F2E2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.52:1 | Pass | Pass | Pass |
| Sample text | 1.55: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 #2F2E2F looks to people with the most common types of color vision deficiency.
#2e2e2fProtanopia
no red cones#2e2e2fDeuteranopia
no green cones#2f2e2eTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #2f2e2f; }
.text { color: #2f2e2f; }
.border { border: 2px solid #2f2e2f; }
.transparent { background-color: rgb(47 46 47 / 50%); }
.gradient { background: linear-gradient(to right, #2f2e2f, #2f2e2f); }
Similar colors
#2e2e2eCarbon Fibre#333232Dark Charcoal#2a2a2aThe End#333333Carbon#343434Jet Black#2b2c30Caviar#282828Dire Wolf#332e2eNight Rider
Questions
- What color is #2F2E2F?
- #2F2E2F is a dark gray, closest to the named color Carbon Fibre. It belongs to the black family of colors.
- What is the RGB value of #2F2E2F?
- The RGB value is 47, 46, 47: 47 red, 46 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #2F2E2F?
- The complementary color is #2E2F2E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F2E2F?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.52:1. WCAG asks for at least 4.5:1 for normal text.