#342D2F color
The hex color #342D2F is a dark gray.
In the RGB color model it is made of 20.4% red, 17.6% green and 18.4% blue (52, 45, 47).
Its hue angle is 343°, with 7% saturation and 19% lightness. For print, the CMYK equivalent is 0% cyan, 13% magenta, 10% yellow and 80% black.
The closest named color is Night Rider (#332E2E), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.44:1).
#342D2F color codes
| HEX | #342D2F | |
|---|---|---|
| RGB | rgb(52, 45, 47) | |
| RGB percent | rgb(20.4%, 17.6%, 18.4%) | |
| HSL | hsl(343, 7%, 19%) | |
| HSV / HSB | hsv(343, 13%, 20%) | |
| CMYK | cmyk(0%, 13%, 10%, 80%) | |
| CIE LAB | lab(19.28, 3.61, -0.12) | |
| CIE LCH | lch(19.28, 3.61, 358.05) | |
| CIE XYZ | xyz(2.868, 2.812, 3.081) | |
| Decimal | 3419439 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #342D2F, 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 #342D2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.44:1 | Pass | Pass | Pass |
| #342D2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.44:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #342D2F looks to people with the most common types of color vision deficiency.
#2e2e2fProtanopia
no red cones#2f2f2fDeuteranopia
no green cones#352d2eTritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #342d2f; }
.text { color: #342d2f; }
.border { border: 2px solid #342d2f; }
.transparent { background-color: rgb(52 45 47 / 50%); }
.gradient { background: linear-gradient(to right, #342d2f, #342e2d); }
Similar colors
#332e2eNight Rider#322c2bDiesel#352b30Mystical Shadow#3c3535After Dark#3b2f2fSmoked Black Coffee#34282cSmoky Charcoal#392d2bMole#41373aVoid Wellness Coach
Closest common color name: Jet Black.
Questions
- What color is #342D2F?
- #342D2F is a dark gray, closest to the named color Night Rider. It belongs to the black family of colors.
- What is the RGB value of #342D2F?
- The RGB value is 52, 45, 47: 52 red, 45 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #342D2F?
- The complementary color is #2D3432, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #342D2F?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.44:1. WCAG asks for at least 4.5:1 for normal text.