#343B39 color
The hex color #343B39 is a dark gray.
In the RGB color model it is made of 20.4% red, 23.1% green and 22.4% blue (52, 59, 57).
Its hue angle is 163°, with 6% saturation and 22% lightness. For print, the CMYK equivalent is 12% cyan, 0% magenta, 3% yellow and 77% black.
The closest named color is Onyx (#353935), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.47:1).
#343B39 color codes
| HEX | #343B39 | |
|---|---|---|
| RGB | rgb(52, 59, 57) | |
| RGB percent | rgb(20.4%, 23.1%, 22.4%) | |
| HSL | hsl(163, 6%, 22%) | |
| HSV / HSB | hsv(163, 12%, 23%) | |
| CMYK | cmyk(12%, 0%, 3%, 77%) | |
| CIE LAB | lab(24.17, -3.42, 0.24) | |
| CIE LCH | lch(24.17, 3.43, 176.02) | |
| CIE XYZ | xyz(3.718, 4.153, 4.476) | |
| Decimal | 3423033 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343B39, 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 #343B39 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.47:1 | Pass | Pass | Pass |
| #343B39 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.47:1 | Pass | Pass | Pass |
| Sample text | 1.83: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 #343B39 looks to people with the most common types of color vision deficiency.
#3a3a39Protanopia
no red cones#393939Deuteranopia
no green cones#323b3aTritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #343b39; }
.text { color: #343b39; }
.border { border: 2px solid #343b39; }
.transparent { background-color: rgb(52 59 57 / 50%); }
.gradient { background: linear-gradient(to right, #343b39, #343a3b); }
Similar colors
#353935Onyx#2f3434Phantom Ship#353838Wet Concrete#293432Aztec#3b3f40Tamahagane#2b322dTerminal Black#313330Oil#3b3c36Black Olive
Questions
- What color is #343B39?
- #343B39 is a dark gray, closest to the named color Onyx. It belongs to the gray family of colors.
- What is the RGB value of #343B39?
- The RGB value is 52, 59, 57: 52 red, 59 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #343B39?
- The complementary color is #3B3436, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343B39?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.47:1. WCAG asks for at least 4.5:1 for normal text.