#343938 color
The hex color #343938 is a dark gray.
In the RGB color model it is made of 20.4% red, 22.4% green and 22% blue (52, 57, 56).
Its hue angle is 168°, with 5% saturation and 21% lightness. For print, the CMYK equivalent is 9% cyan, 0% magenta, 2% yellow and 78% black.
The closest named color is Wet Concrete (#353838), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.74:1).
#343938 color codes
| HEX | #343938 | |
|---|---|---|
| RGB | rgb(52, 57, 56) | |
| RGB percent | rgb(20.4%, 22.4%, 22%) | |
| HSL | hsl(168, 5%, 21%) | |
| HSV / HSB | hsv(168, 9%, 22%) | |
| CMYK | cmyk(9%, 0%, 2%, 78%) | |
| CIE LAB | lab(23.48, -2.36, -0.11) | |
| CIE LCH | lch(23.48, 2.36, 182.59) | |
| CIE XYZ | xyz(3.593, 3.942, 4.312) | |
| Decimal | 3422520 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343938, 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 #343938 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.79:1 | Fail | Fail | Fail |
| Sample text | 11.74:1 | Pass | Pass | Pass |
| #343938 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.74:1 | Pass | Pass | Pass |
| Sample text | 1.79: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 #343938 looks to people with the most common types of color vision deficiency.
#383838Protanopia
no red cones#373838Deuteranopia
no green cones#333939Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #343938; }
.text { color: #343938; }
.border { border: 2px solid #343938; }
.transparent { background-color: rgb(52 57 56 / 50%); }
.gradient { background: linear-gradient(to right, #343938, #343839); }
Similar colors
#353838Wet Concrete#2f3434Phantom Ship#353935Onyx#3b3f40Tamahagane#313330Oil#383838Graphite#383838Lacquered Liquorice#343434Jet Black
Questions
- What color is #343938?
- #343938 is a dark gray, closest to the named color Wet Concrete. It belongs to the gray family of colors.
- What is the RGB value of #343938?
- The RGB value is 52, 57, 56: 52 red, 57 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #343938?
- The complementary color is #393435, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343938?
- White text. Black text has a contrast ratio of 1.79:1 and white text 11.74:1. WCAG asks for at least 4.5:1 for normal text.