#405562 color
The hex color #405562 is a dark, grayish azure.
In the RGB color model it is made of 25.1% red, 33.3% green and 38.4% blue (64, 85, 98).
Its hue angle is 203°, with 21% saturation and 32% lightness. For print, the CMYK equivalent is 35% cyan, 13% magenta, 0% yellow and 62% black.
The closest named color is Dark Secret (#3E5361), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.8:1).
#405562 color codes
| HEX | #405562 | |
|---|---|---|
| RGB | rgb(64, 85, 98) | |
| RGB percent | rgb(25.1%, 33.3%, 38.4%) | |
| HSL | hsl(203, 21%, 32%) | |
| HSV / HSB | hsv(203, 35%, 38%) | |
| CMYK | cmyk(35%, 13%, 0%, 62%) | |
| CIE LAB | lab(34.94, -4.48, -10.12) | |
| CIE LCH | lch(34.94, 11.06, 246.14) | |
| CIE XYZ | xyz(7.567, 8.468, 12.789) | |
| Decimal | 4216162 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405562, 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 #405562 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.69:1 | Fail | Fail | Fail |
| Sample text | 7.8:1 | Pass | Pass | Pass |
| #405562 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.8:1 | Pass | Pass | Pass |
| Sample text | 2.69: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 #405562 looks to people with the most common types of color vision deficiency.
#4f5463Protanopia
no red cones#4a5062Deuteranopia
no green cones#355859Tritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #405562; }
.text { color: #405562; }
.border { border: 2px solid #405562; }
.transparent { background-color: rgb(64 85 98 / 50%); }
.gradient { background: linear-gradient(to right, #405562, #404462); }
Similar colors
#3e5361Dark Secret#3f5865Stargazer#43535eNightfall#46565fGood Night!#37525fMoonlit Sonata#4a5c6aSeven Seas#4b5a62Fiord#344d58Nocturne
Closest common color name: Charcoal.
Questions
- What color is #405562?
- #405562 is a dark, grayish azure, closest to the named color Dark Secret. It belongs to the gray family of colors.
- What is the RGB value of #405562?
- The RGB value is 64, 85, 98: 64 red, 85 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #405562?
- The complementary color is #624D40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405562?
- White text. Black text has a contrast ratio of 2.69:1 and white text 7.8:1. WCAG asks for at least 4.5:1 for normal text.