#345152 color
The hex color #345152 is a dark, grayish cyan.
In the RGB color model it is made of 20.4% red, 31.8% green and 32.2% blue (52, 81, 82).
Its hue angle is 182°, with 22% saturation and 26% lightness. For print, the CMYK equivalent is 37% cyan, 1% magenta, 0% yellow and 68% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.59:1).
#345152 color codes
| HEX | #345152 | |
|---|---|---|
| RGB | rgb(52, 81, 82) | |
| RGB percent | rgb(20.4%, 31.8%, 32.2%) | |
| HSL | hsl(182, 22%, 26%) | |
| HSV / HSB | hsv(182, 37%, 32%) | |
| CMYK | cmyk(37%, 1%, 0%, 68%) | |
| CIE LAB | lab(32.31, -10.48, -4.04) | |
| CIE LCH | lch(32.31, 11.23, 201.08) | |
| CIE XYZ | xyz(5.881, 7.224, 9.065) | |
| Decimal | 3428690 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #345152, 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 #345152 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.44:1 | Fail | Fail | Fail |
| Sample text | 8.59:1 | Pass | Pass | Pass |
| #345152 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.59:1 | Pass | Pass | Pass |
| Sample text | 2.44: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 #345152 looks to people with the most common types of color vision deficiency.
#4d4e52Protanopia
no red cones#484a52Deuteranopia
no green cones#295351Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #345152; }
.text { color: #345152; }
.border { border: 2px solid #345152; }
.transparent { background-color: rgb(52 81 82 / 50%); }
.gradient { background: linear-gradient(to right, #345152, #344252); }
Similar colors
#2f4f4fDark Slate Gray#3c4f4eNight Watch#345c61Arctic Nights#27454aMysterious Waters#405e5cRosemary#315955Enchanting Ivy#23505aSunken Mystery#2d454aLittle Mermaid
Questions
- What color is #345152?
- #345152 is a dark, grayish cyan, closest to the named color Dark Slate Gray. It belongs to the gray family of colors.
- What is the RGB value of #345152?
- The RGB value is 52, 81, 82: 52 red, 81 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #345152?
- The complementary color is #523534, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #345152?
- White text. Black text has a contrast ratio of 2.44:1 and white text 8.59:1. WCAG asks for at least 4.5:1 for normal text.