#34363D color
The hex color #34363D is a dark gray.
In the RGB color model it is made of 20.4% red, 21.2% green and 23.9% blue (52, 54, 61).
Its hue angle is 227°, with 8% saturation and 22% lightness. For print, the CMYK equivalent is 15% cyan, 11% magenta, 0% yellow and 76% black.
The closest named color is After Midnight (#38393F), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.06:1).
#34363D color codes
| HEX | #34363D | |
|---|---|---|
| RGB | rgb(52, 54, 61) | |
| RGB percent | rgb(20.4%, 21.2%, 23.9%) | |
| HSL | hsl(227, 8%, 22%) | |
| HSV / HSB | hsv(227, 15%, 24%) | |
| CMYK | cmyk(15%, 11%, 0%, 76%) | |
| CIE LAB | lab(22.67, 0.87, -4.66) | |
| CIE LCH | lch(22.67, 4.74, 280.63) | |
| CIE XYZ | xyz(3.577, 3.705, 4.941) | |
| Decimal | 3421757 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #34363D, 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 #34363D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.74:1 | Fail | Fail | Fail |
| Sample text | 12.06:1 | Pass | Pass | Pass |
| #34363D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.06:1 | Pass | Pass | Pass |
| Sample text | 1.74: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 #34363D looks to people with the most common types of color vision deficiency.
#34373dProtanopia
no red cones#34363dDeuteranopia
no green cones#323738Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #34363d; }
.text { color: #34363d; }
.border { border: 2px solid #34363d; }
.transparent { background-color: rgb(52 54 61 / 50%); }
.gradient { background: linear-gradient(to right, #34363d, #36343d); }
Similar colors
#38393fAfter Midnight#37393eArtist’s Charcoal#36383cVulcan#363b43Do Not Disturb#3b3c41In the Dark#35343fWitches Cauldron#3c393dMoonless Night#3b3b3dCoal Hard Truth
Closest common color name: Graphite.
Questions
- What color is #34363D?
- #34363D is a dark gray, closest to the named color After Midnight. It belongs to the gray family of colors.
- What is the RGB value of #34363D?
- The RGB value is 52, 54, 61: 52 red, 54 green and 61 blue on a 0 to 255 scale.
- What is the complementary color of #34363D?
- The complementary color is #3D3B34, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #34363D?
- White text. Black text has a contrast ratio of 1.74:1 and white text 12.06:1. WCAG asks for at least 4.5:1 for normal text.