#34343F color
The hex color #34343F is a dark, grayish blue.
In the RGB color model it is made of 20.4% red, 20.4% green and 24.7% blue (52, 52, 63).
Its hue angle is 240°, with 10% saturation and 23% lightness. For print, the CMYK equivalent is 17% cyan, 17% magenta, 0% yellow and 75% black.
The closest named color is Witches Cauldron (#35343F), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.29:1).
#34343F color codes
| HEX | #34343F | |
|---|---|---|
| RGB | rgb(52, 52, 63) | |
| RGB percent | rgb(20.4%, 20.4%, 24.7%) | |
| HSL | hsl(240, 10%, 23%) | |
| HSV / HSB | hsv(240, 17%, 25%) | |
| CMYK | cmyk(17%, 17%, 0%, 75%) | |
| CIE LAB | lab(22.11, 2.75, -6.86) | |
| CIE LCH | lch(22.11, 7.39, 291.82) | |
| CIE XYZ | xyz(3.541, 3.545, 5.199) | |
| Decimal | 3421247 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #34343F, 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 #34343F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.71:1 | Fail | Fail | Fail |
| Sample text | 12.29:1 | Pass | Pass | Pass |
| #34343F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.29:1 | Pass | Pass | Pass |
| Sample text | 1.71: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 #34343F looks to people with the most common types of color vision deficiency.
#313540Protanopia
no red cones#31353fDeuteranopia
no green cones#323638Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #34343f; }
.text { color: #34343f; }
.border { border: 2px solid #34343f; }
.transparent { background-color: rgb(52 52 63 / 50%); }
.gradient { background: linear-gradient(to right, #34343f, #3a343f); }
Similar colors
#35343fWitches Cauldron#393540Professor Plum#303543Total Eclipse#333344Shuriken#2c2a35Haiti#38393fAfter Midnight#3f3c43Tuxedo#413d4bItalian Grape
Closest common color name: Jet Black.
Questions
- What color is #34343F?
- #34343F is a dark, grayish blue, closest to the named color Witches Cauldron. It belongs to the gray family of colors.
- What is the RGB value of #34343F?
- The RGB value is 52, 52, 63: 52 red, 52 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #34343F?
- The complementary color is #3F3F34, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #34343F?
- White text. Black text has a contrast ratio of 1.71:1 and white text 12.29:1. WCAG asks for at least 4.5:1 for normal text.