#405C6F color
The hex color #405C6F is a dark, desaturated azure.
In the RGB color model it is made of 25.1% red, 36.1% green and 43.5% blue (64, 92, 111).
Its hue angle is 204°, with 27% saturation and 34% lightness. For print, the CMYK equivalent is 42% cyan, 17% magenta, 0% yellow and 56% black.
The closest named color is Seven Seas (#4A5C6A), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.05:1).
#405C6F color codes
| HEX | #405C6F | |
|---|---|---|
| RGB | rgb(64, 92, 111) | |
| RGB percent | rgb(25.1%, 36.1%, 43.5%) | |
| HSL | hsl(204, 27%, 34%) | |
| HSV / HSB | hsv(204, 42%, 44%) | |
| CMYK | cmyk(42%, 17%, 0%, 56%) | |
| CIE LAB | lab(37.65, -4.96, -14.09) | |
| CIE LCH | lch(37.65, 14.94, 250.62) | |
| CIE XYZ | xyz(8.81, 9.891, 16.481) | |
| Decimal | 4217967 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405C6F, 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 #405C6F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.98:1 | Fail | Fail | Fail |
| Sample text | 7.05:1 | Pass | Pass | Pass |
| #405C6F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.05:1 | Pass | Pass | Pass |
| Sample text | 2.98: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 #405C6F looks to people with the most common types of color vision deficiency.
#545b70Protanopia
no red cones#4d566fDeuteranopia
no green cones#2e6162Tritanopia
no blue cones#595959Achromatopsia
no color vision
CSS examples
.background { background-color: #405c6f; }
.text { color: #405c6f; }
.border { border: 2px solid #405c6f; }
.transparent { background-color: rgb(64 92 111 / 50%); }
.gradient { background: linear-gradient(to right, #405c6f, #40446f); }
Similar colors
#4a5c6aSeven Seas#3f5865Stargazer#3e5361Dark Secret#4c6177Night Market#46647eStellar#295c7aNautical Creatures#37525fMoonlit Sonata#43535eNightfall
Closest common color name: Charcoal.
Questions
- What color is #405C6F?
- #405C6F is a dark, desaturated azure, closest to the named color Seven Seas. It belongs to the blue family of colors.
- What is the RGB value of #405C6F?
- The RGB value is 64, 92, 111: 64 red, 92 green and 111 blue on a 0 to 255 scale.
- What is the complementary color of #405C6F?
- The complementary color is #6F5340, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405C6F?
- White text. Black text has a contrast ratio of 2.98:1 and white text 7.05:1. WCAG asks for at least 4.5:1 for normal text.