#343C42 color
The hex color #343C42 is a dark, grayish azure.
In the RGB color model it is made of 20.4% red, 23.5% green and 25.9% blue (52, 60, 66).
Its hue angle is 206°, with 12% saturation and 23% lightness. For print, the CMYK equivalent is 21% cyan, 9% magenta, 0% yellow and 74% black.
The closest named color is Tempest in a Teapot (#303A40), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.22:1).
#343C42 color codes
| HEX | #343C42 | |
|---|---|---|
| RGB | rgb(52, 60, 66) | |
| RGB percent | rgb(20.4%, 23.5%, 25.9%) | |
| HSL | hsl(206, 12%, 23%) | |
| HSV / HSB | hsv(206, 21%, 26%) | |
| CMYK | cmyk(21%, 9%, 0%, 74%) | |
| CIE LAB | lab(24.81, -1.78, -4.81) | |
| CIE LCH | lch(24.81, 5.13, 249.72) | |
| CIE XYZ | xyz(4.015, 4.355, 5.782) | |
| Decimal | 3423298 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343C42, 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 #343C42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.87:1 | Fail | Fail | Fail |
| Sample text | 11.22:1 | Pass | Pass | Pass |
| #343C42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.22:1 | Pass | Pass | Pass |
| Sample text | 1.87: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 #343C42 looks to people with the most common types of color vision deficiency.
#3a3c42Protanopia
no red cones#383a42Deuteranopia
no green cones#303d3eTritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #343c42; }
.text { color: #343c42; }
.border { border: 2px solid #343c42; }
.transparent { background-color: rgb(52 60 66 / 50%); }
.gradient { background: linear-gradient(to right, #343c42, #343542); }
Similar colors
#303a40Tempest in a Teapot#363b43Do Not Disturb#3b444bArsenic#2a3439Gunmetal#37393eArtist’s Charcoal#36383cVulcan#3b3f40Tamahagane#3e4244Metropolitan Silhouette
Questions
- What color is #343C42?
- #343C42 is a dark, grayish azure, closest to the named color Tempest in a Teapot. It belongs to the gray family of colors.
- What is the RGB value of #343C42?
- The RGB value is 52, 60, 66: 52 red, 60 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #343C42?
- The complementary color is #423A34, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343C42?
- White text. Black text has a contrast ratio of 1.87:1 and white text 11.22:1. WCAG asks for at least 4.5:1 for normal text.