#34504F color
The hex color #34504F is a dark, grayish cyan.
In the RGB color model it is made of 20.4% red, 31.4% green and 31% blue (52, 80, 79).
Its hue angle is 178°, with 21% saturation and 26% lightness. For print, the CMYK equivalent is 35% cyan, 0% magenta, 1% yellow and 69% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.73:1).
#34504F color codes
| HEX | #34504F | |
|---|---|---|
| RGB | rgb(52, 80, 79) | |
| RGB percent | rgb(20.4%, 31.4%, 31%) | |
| HSL | hsl(178, 21%, 26%) | |
| HSV / HSB | hsv(178, 35%, 31%) | |
| CMYK | cmyk(35%, 0%, 1%, 69%) | |
| CIE LAB | lab(31.88, -10.71, -2.77) | |
| CIE LCH | lch(31.88, 11.06, 194.49) | |
| CIE XYZ | xyz(5.696, 7.032, 8.453) | |
| Decimal | 3428431 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #34504F, 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 #34504F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.41:1 | Fail | Fail | Fail |
| Sample text | 8.73:1 | Pass | Pass | Pass |
| #34504F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.73:1 | Pass | Pass | Pass |
| Sample text | 2.41: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 #34504F looks to people with the most common types of color vision deficiency.
#4d4d4fProtanopia
no red cones#47494fDeuteranopia
no green cones#2a5250Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #34504f; }
.text { color: #34504f; }
.border { border: 2px solid #34504f; }
.transparent { background-color: rgb(52 80 79 / 50%); }
.gradient { background: linear-gradient(to right, #34504f, #344350); }
Similar colors
#2f4f4fDark Slate Gray#3c4f4eNight Watch#33534bHunter#315955Enchanting Ivy#405e5cRosemary#27454aMysterious Waters#224347Emerald Forest#455454All Nighter
Questions
- What color is #34504F?
- #34504F 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 #34504F?
- The RGB value is 52, 80, 79: 52 red, 80 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #34504F?
- The complementary color is #503435, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #34504F?
- White text. Black text has a contrast ratio of 2.41:1 and white text 8.73:1. WCAG asks for at least 4.5:1 for normal text.