#405D57 color
The hex color #405D57 is a dark, grayish spring green.
In the RGB color model it is made of 25.1% red, 36.5% green and 34.1% blue (64, 93, 87).
Its hue angle is 168°, with 18% saturation and 31% lightness. For print, the CMYK equivalent is 31% cyan, 0% magenta, 6% yellow and 64% black.
The closest named color is Rosemary (#405E5C), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.19:1).
#405D57 color codes
| HEX | #405D57 | |
|---|---|---|
| RGB | rgb(64, 93, 87) | |
| RGB percent | rgb(25.1%, 36.5%, 34.1%) | |
| HSL | hsl(168, 18%, 31%) | |
| HSV / HSB | hsv(168, 31%, 36%) | |
| CMYK | cmyk(31%, 0%, 6%, 64%) | |
| CIE LAB | lab(37.13, -12.19, 0) | |
| CIE LCH | lch(37.13, 12.19, 180.02) | |
| CIE XYZ | xyz(7.748, 9.606, 10.461) | |
| Decimal | 4218199 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405D57, 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 #405D57 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.92:1 | Fail | Fail | Fail |
| Sample text | 7.19:1 | Pass | Pass | Pass |
| #405D57 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.19:1 | Pass | Pass | Pass |
| Sample text | 2.92: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 #405D57 looks to people with the most common types of color vision deficiency.
#5b5a57Protanopia
no red cones#555657Deuteranopia
no green cones#385e5bTritanopia
no blue cones#575757Achromatopsia
no color vision
CSS examples
.background { background-color: #405d57; }
.text { color: #405d57; }
.border { border: 2px solid #405d57; }
.transparent { background-color: rgb(64 93 87 / 50%); }
.gradient { background: linear-gradient(to right, #405d57, #40545d); }
Similar colors
#405e5cRosemary#3a5b52Iridescent#315955Enchanting Ivy#3e594cPlantation#33534bHunter#2e5c58Lacrosse#3e5e4eEthereal Woods#475c5dWoodland Night
Closest common color name: Dark Slate Gray.
Questions
- What color is #405D57?
- #405D57 is a dark, grayish spring green, closest to the named color Rosemary. It belongs to the gray family of colors.
- What is the RGB value of #405D57?
- The RGB value is 64, 93, 87: 64 red, 93 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #405D57?
- The complementary color is #5D4046, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405D57?
- White text. Black text has a contrast ratio of 2.92:1 and white text 7.19:1. WCAG asks for at least 4.5:1 for normal text.