#343542 color
The hex color #343542 is a dark, grayish blue.
In the RGB color model it is made of 20.4% red, 20.8% green and 25.9% blue (52, 53, 66).
Its hue angle is 236°, with 12% saturation and 23% lightness. For print, the CMYK equivalent is 21% cyan, 20% magenta, 0% yellow and 74% black.
The closest named color is Witches Cauldron (#35343F), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.11:1).
#343542 color codes
| HEX | #343542 | |
|---|---|---|
| RGB | rgb(52, 53, 66) | |
| RGB percent | rgb(20.4%, 20.8%, 25.9%) | |
| HSL | hsl(236, 12%, 23%) | |
| HSV / HSB | hsv(236, 21%, 26%) | |
| CMYK | cmyk(21%, 20%, 0%, 74%) | |
| CIE LAB | lab(22.55, 2.88, -8.22) | |
| CIE LCH | lch(22.55, 8.71, 289.33) | |
| CIE XYZ | xyz(3.672, 3.67, 5.668) | |
| Decimal | 3421506 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343542, 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 #343542 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.11:1 | Pass | Pass | Pass |
| #343542 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.11:1 | Pass | Pass | Pass |
| Sample text | 1.73: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 #343542 looks to people with the most common types of color vision deficiency.
#323643Protanopia
no red cones#313542Deuteranopia
no green cones#313739Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #343542; }
.text { color: #343542; }
.border { border: 2px solid #343542; }
.transparent { background-color: rgb(52 53 66 / 50%); }
.gradient { background: linear-gradient(to right, #343542, #3a3442); }
Similar colors
#35343fWitches Cauldron#303543Total Eclipse#333344Shuriken#393540Professor Plum#2c2a35Haiti#413d4bItalian Grape#38393fAfter Midnight#3f4250Madonna
Closest common color name: Jet Black.
Questions
- What color is #343542?
- #343542 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 #343542?
- The RGB value is 52, 53, 66: 52 red, 53 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #343542?
- The complementary color is #424134, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343542?
- White text. Black text has a contrast ratio of 1.73:1 and white text 12.11:1. WCAG asks for at least 4.5:1 for normal text.