#343936 color
The hex color #343936 is a dark gray.
In the RGB color model it is made of 20.4% red, 22.4% green and 21.2% blue (52, 57, 54).
Its hue angle is 144°, with 5% saturation and 21% lightness. For print, the CMYK equivalent is 9% cyan, 0% magenta, 5% yellow and 78% black.
The closest named color is Onyx (#353935), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.77:1).
#343936 color codes
| HEX | #343936 | |
|---|---|---|
| RGB | rgb(52, 57, 54) | |
| RGB percent | rgb(20.4%, 22.4%, 21.2%) | |
| HSL | hsl(144, 5%, 21%) | |
| HSV / HSB | hsv(144, 9%, 22%) | |
| CMYK | cmyk(9%, 0%, 5%, 78%) | |
| CIE LAB | lab(23.41, -2.83, 1.14) | |
| CIE LCH | lch(23.41, 3.05, 158.07) | |
| CIE XYZ | xyz(3.545, 3.923, 4.06) | |
| Decimal | 3422518 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343936, 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 #343936 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.77:1 | Pass | Pass | Pass |
| #343936 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.77:1 | Pass | Pass | Pass |
| Sample text | 1.78: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 #343936 looks to people with the most common types of color vision deficiency.
#393836Protanopia
no red cones#383836Deuteranopia
no green cones#333938Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #343936; }
.text { color: #343936; }
.border { border: 2px solid #343936; }
.transparent { background-color: rgb(52 57 54 / 50%); }
.gradient { background: linear-gradient(to right, #343936, #343939); }
Similar colors
#353935Onyx#313330Oil#2f3434Phantom Ship#353838Wet Concrete#3b3c36Black Olive#2b322dTerminal Black#3b3f40Tamahagane#293432Aztec
Questions
- What color is #343936?
- #343936 is a dark gray, closest to the named color Onyx. It belongs to the gray family of colors.
- What is the RGB value of #343936?
- The RGB value is 52, 57, 54: 52 red, 57 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #343936?
- The complementary color is #393437, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343936?
- White text. Black text has a contrast ratio of 1.78:1 and white text 11.77:1. WCAG asks for at least 4.5:1 for normal text.