#2C2E2E color
The hex color #2C2E2E is a dark gray.
In the RGB color model it is made of 17.3% red, 18% green and 18% blue (44, 46, 46).
Its hue angle is 180°, with 2% saturation and 18% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 0% yellow and 82% black.
The closest named color is Carbon Fibre (#2E2E2E), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.66:1).
#2C2E2E color codes
| HEX | #2C2E2E | |
|---|---|---|
| RGB | rgb(44, 46, 46) | |
| RGB percent | rgb(17.3%, 18%, 18%) | |
| HSL | hsl(180, 2%, 18%) | |
| HSV / HSB | hsv(180, 4%, 18%) | |
| CMYK | cmyk(4%, 0%, 0%, 82%) | |
| CIE LAB | lab(18.74, -0.88, -0.31) | |
| CIE LCH | lch(18.74, 0.93, 199.21) | |
| CIE XYZ | xyz(2.509, 2.687, 2.971) | |
| Decimal | 2895406 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2C2E2E, 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 #2C2E2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.66:1 | Pass | Pass | Pass |
| #2C2E2E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.66:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #2C2E2E looks to people with the most common types of color vision deficiency.
#2e2e2eProtanopia
no red cones#2d2d2eDeuteranopia
no green cones#2b2e2eTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #2c2e2e; }
.text { color: #2c2e2e; }
.border { border: 2px solid #2c2e2e; }
.transparent { background-color: rgb(44 46 46 / 50%); }
.gradient { background: linear-gradient(to right, #2c2e2e, #2c2d2e); }
Similar colors
#2e2e2eCarbon Fibre#2a2a2aThe End#262a2bGraphite Black#333333Carbon#282828Dire Wolf#343434Jet Black#2f3434Phantom Ship#333232Dark Charcoal
Questions
- What color is #2C2E2E?
- #2C2E2E 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 #2C2E2E?
- The RGB value is 44, 46, 46: 44 red, 46 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #2C2E2E?
- The complementary color is #2E2C2C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2C2E2E?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.66:1. WCAG asks for at least 4.5:1 for normal text.