#405C58 color
The hex color #405C58 is a dark, grayish spring green.
In the RGB color model it is made of 25.1% red, 36.1% green and 34.5% blue (64, 92, 88).
Its hue angle is 171°, with 18% saturation and 31% lightness. For print, the CMYK equivalent is 30% cyan, 0% magenta, 4% yellow and 64% black.
The closest named color is Rosemary (#405E5C), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.27:1).
#405C58 color codes
| HEX | #405C58 | |
|---|---|---|
| RGB | rgb(64, 92, 88) | |
| RGB percent | rgb(25.1%, 36.1%, 34.5%) | |
| HSL | hsl(171, 18%, 31%) | |
| HSV / HSB | hsv(171, 30%, 36%) | |
| CMYK | cmyk(30%, 0%, 4%, 64%) | |
| CIE LAB | lab(36.83, -11.36, -1.05) | |
| CIE LCH | lch(36.83, 11.41, 185.29) | |
| CIE XYZ | xyz(7.702, 9.448, 10.649) | |
| Decimal | 4217944 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405C58, 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 #405C58 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.89:1 | Fail | Fail | Fail |
| Sample text | 7.27:1 | Pass | Pass | Pass |
| #405C58 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.27:1 | Pass | Pass | Pass |
| Sample text | 2.89: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 #405C58 looks to people with the most common types of color vision deficiency.
#595958Protanopia
no red cones#545558Deuteranopia
no green cones#375d5bTritanopia
no blue cones#575757Achromatopsia
no color vision
CSS examples
.background { background-color: #405c58; }
.text { color: #405c58; }
.border { border: 2px solid #405c58; }
.transparent { background-color: rgb(64 92 88 / 50%); }
.gradient { background: linear-gradient(to right, #405c58, #40525c); }
Similar colors
#405e5cRosemary#3a5b52Iridescent#315955Enchanting Ivy#475c5dWoodland Night#33534bHunter#2e5c58Lacrosse#3e594cPlantation#345c61Arctic Nights
Closest common color name: Dark Slate Gray.
Questions
- What color is #405C58?
- #405C58 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 #405C58?
- The RGB value is 64, 92, 88: 64 red, 92 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #405C58?
- The complementary color is #5C4044, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405C58?
- White text. Black text has a contrast ratio of 2.89:1 and white text 7.27:1. WCAG asks for at least 4.5:1 for normal text.