#2D342E color
The hex color #2D342E is a dark gray.
In the RGB color model it is made of 17.6% red, 20.4% green and 18% blue (45, 52, 46).
Its hue angle is 129°, with 7% saturation and 19% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 12% yellow and 80% black.
The closest named color is Terminal Black (#2B322D), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.79:1).
#2D342E color codes
| HEX | #2D342E | |
|---|---|---|
| RGB | rgb(45, 52, 46) | |
| RGB percent | rgb(17.6%, 20.4%, 18%) | |
| HSL | hsl(129, 7%, 19%) | |
| HSV / HSB | hsv(129, 13%, 20%) | |
| CMYK | cmyk(13%, 0%, 12%, 80%) | |
| CIE LAB | lab(20.87, -4.44, 2.79) | |
| CIE LCH | lch(20.87, 5.24, 147.9) | |
| CIE XYZ | xyz(2.803, 3.211, 3.056) | |
| Decimal | 2962478 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D342E, 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 #2D342E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.64:1 | Fail | Fail | Fail |
| Sample text | 12.79:1 | Pass | Pass | Pass |
| #2D342E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.79:1 | Pass | Pass | Pass |
| Sample text | 1.64: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 #2D342E looks to people with the most common types of color vision deficiency.
#34332eProtanopia
no red cones#33322eDeuteranopia
no green cones#2c3432Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #2d342e; }
.text { color: #2d342e; }
.border { border: 2px solid #2d342e; }
.transparent { background-color: rgb(45 52 46 / 50%); }
.gradient { background: linear-gradient(to right, #2d342e, #2d3431); }
Similar colors
#2b322dTerminal Black#293432Aztec#2b2e26Marshland#353935Onyx#313330Oil#2f3434Phantom Ship#262926Bitter Liquorice#3b3c36Black Olive
Questions
- What color is #2D342E?
- #2D342E is a dark gray, closest to the named color Terminal Black. It belongs to the gray family of colors.
- What is the RGB value of #2D342E?
- The RGB value is 45, 52, 46: 45 red, 52 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #2D342E?
- The complementary color is #342D33, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D342E?
- White text. Black text has a contrast ratio of 1.64:1 and white text 12.79:1. WCAG asks for at least 4.5:1 for normal text.