#405A5E color
The hex color #405A5E is a dark, grayish cyan.
In the RGB color model it is made of 25.1% red, 35.3% green and 36.9% blue (64, 90, 94).
Its hue angle is 188°, with 19% saturation and 31% lightness. For print, the CMYK equivalent is 32% cyan, 4% magenta, 0% yellow and 63% black.
The closest named color is Woodland Night (#475C5D), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.39:1).
#405A5E color codes
| HEX | #405A5E | |
|---|---|---|
| RGB | rgb(64, 90, 94) | |
| RGB percent | rgb(25.1%, 35.3%, 36.9%) | |
| HSL | hsl(188, 19%, 31%) | |
| HSV / HSB | hsv(188, 32%, 37%) | |
| CMYK | cmyk(32%, 4%, 0%, 63%) | |
| CIE LAB | lab(36.39, -8.61, -5.45) | |
| CIE LCH | lch(36.39, 10.19, 212.33) | |
| CIE XYZ | xyz(7.79, 9.21, 11.955) | |
| Decimal | 4217438 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405A5E, 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 #405A5E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.84:1 | Fail | Fail | Fail |
| Sample text | 7.39:1 | Pass | Pass | Pass |
| #405A5E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.39:1 | Pass | Pass | Pass |
| Sample text | 2.84: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 #405A5E looks to people with the most common types of color vision deficiency.
#56585eProtanopia
no red cones#51545eDeuteranopia
no green cones#365c5bTritanopia
no blue cones#565656Achromatopsia
no color vision
CSS examples
.background { background-color: #405a5e; }
.text { color: #405a5e; }
.border { border: 2px solid #405a5e; }
.transparent { background-color: rgb(64 90 94 / 50%); }
.gradient { background: linear-gradient(to right, #405a5e, #404b5e); }
Similar colors
#475c5dWoodland Night#4a5d5fStill Waters Run Deep#3b5760Great Void#345c61Arctic Nights#395d68Under the Sea#405e5cRosemary#455454All Nighter#39636aMediterranea
Closest common color name: Dark Slate Gray.
Questions
- What color is #405A5E?
- #405A5E is a dark, grayish cyan, closest to the named color Woodland Night. It belongs to the gray family of colors.
- What is the RGB value of #405A5E?
- The RGB value is 64, 90, 94: 64 red, 90 green and 94 blue on a 0 to 255 scale.
- What is the complementary color of #405A5E?
- The complementary color is #5E4440, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405A5E?
- White text. Black text has a contrast ratio of 2.84:1 and white text 7.39:1. WCAG asks for at least 4.5:1 for normal text.