#405866 color
The hex color #405866 is a dark, grayish azure.
In the RGB color model it is made of 25.1% red, 34.5% green and 40% blue (64, 88, 102).
Its hue angle is 202°, with 23% saturation and 33% lightness. For print, the CMYK equivalent is 37% cyan, 14% magenta, 0% yellow and 60% black.
The closest named color is Stargazer (#3F5865), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.48:1).
#405866 color codes
| HEX | #405866 | |
|---|---|---|
| RGB | rgb(64, 88, 102) | |
| RGB percent | rgb(25.1%, 34.5%, 40%) | |
| HSL | hsl(202, 23%, 33%) | |
| HSV / HSB | hsv(202, 37%, 40%) | |
| CMYK | cmyk(37%, 14%, 0%, 60%) | |
| CIE LAB | lab(36.04, -5.17, -10.96) | |
| CIE LCH | lch(36.04, 12.11, 244.75) | |
| CIE XYZ | xyz(8.002, 9.028, 13.889) | |
| Decimal | 4216934 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405866, 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 #405866 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.81:1 | Fail | Fail | Fail |
| Sample text | 7.48:1 | Pass | Pass | Pass |
| #405866 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.48:1 | Pass | Pass | Pass |
| Sample text | 2.81: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 #405866 looks to people with the most common types of color vision deficiency.
#515767Protanopia
no red cones#4c5366Deuteranopia
no green cones#335c5cTritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #405866; }
.text { color: #405866; }
.border { border: 2px solid #405866; }
.transparent { background-color: rgb(64 88 102 / 50%); }
.gradient { background: linear-gradient(to right, #405866, #404566); }
Similar colors
#3f5865Stargazer#3e5361Dark Secret#37525fMoonlit Sonata#4a5c6aSeven Seas#46565fGood Night!#43535eNightfall#4b5a62Fiord#3b5760Great Void
Closest common color name: Charcoal.
Questions
- What color is #405866?
- #405866 is a dark, grayish azure, closest to the named color Stargazer. It belongs to the gray family of colors.
- What is the RGB value of #405866?
- The RGB value is 64, 88, 102: 64 red, 88 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #405866?
- The complementary color is #664E40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405866?
- White text. Black text has a contrast ratio of 2.81:1 and white text 7.48:1. WCAG asks for at least 4.5:1 for normal text.