#342E33 color
The hex color #342E33 is a dark gray.
In the RGB color model it is made of 20.4% red, 18% green and 20% blue (52, 46, 51).
Its hue angle is 310°, with 6% saturation and 19% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 2% yellow and 80% black.
The closest named color is Mystical Shadow (#352B30), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.25:1).
#342E33 color codes
| HEX | #342E33 | |
|---|---|---|
| RGB | rgb(52, 46, 51) | |
| RGB percent | rgb(20.4%, 18%, 20%) | |
| HSL | hsl(310, 6%, 19%) | |
| HSV / HSB | hsv(310, 12%, 20%) | |
| CMYK | cmyk(0%, 12%, 2%, 80%) | |
| CIE LAB | lab(19.73, 3.83, -2.21) | |
| CIE LCH | lch(19.73, 4.42, 329.98) | |
| CIE XYZ | xyz(2.991, 2.923, 3.538) | |
| Decimal | 3419699 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #342E33, 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 #342E33 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.58:1 | Fail | Fail | Fail |
| Sample text | 13.25:1 | Pass | Pass | Pass |
| #342E33 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.25:1 | Pass | Pass | Pass |
| Sample text | 1.58: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 #342E33 looks to people with the most common types of color vision deficiency.
#2e2f33Protanopia
no red cones#2f3033Deuteranopia
no green cones#352e30Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #342e33; }
.text { color: #342e33; }
.border { border: 2px solid #342e33; }
.transparent { background-color: rgb(52 46 51 / 50%); }
.gradient { background: linear-gradient(to right, #342e33, #342e30); }
Similar colors
#352b30Mystical Shadow#332e2eNight Rider#342931Melanzane#34282cSmoky Charcoal#3c3535After Dark#3c393dMoonless Night#27252aDarth Vader#41373aVoid Wellness Coach
Closest common color name: Jet Black.
Questions
- What color is #342E33?
- #342E33 is a dark gray, closest to the named color Mystical Shadow. It belongs to the black family of colors.
- What is the RGB value of #342E33?
- The RGB value is 52, 46, 51: 52 red, 46 green and 51 blue on a 0 to 255 scale.
- What is the complementary color of #342E33?
- The complementary color is #2E342F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #342E33?
- White text. Black text has a contrast ratio of 1.58:1 and white text 13.25:1. WCAG asks for at least 4.5:1 for normal text.