#405B6B color
The hex color #405B6B is a dark, desaturated azure.
In the RGB color model it is made of 25.1% red, 35.7% green and 42% blue (64, 91, 107).
Its hue angle is 202°, with 25% saturation and 34% lightness. For print, the CMYK equivalent is 40% cyan, 15% magenta, 0% yellow and 58% black.
The closest named color is Stargazer (#3F5865), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.18:1).
#405B6B color codes
| HEX | #405B6B | |
|---|---|---|
| RGB | rgb(64, 91, 107) | |
| RGB percent | rgb(25.1%, 35.7%, 42%) | |
| HSL | hsl(202, 25%, 34%) | |
| HSV / HSB | hsv(202, 40%, 42%) | |
| CMYK | cmyk(40%, 15%, 0%, 58%) | |
| CIE LAB | lab(37.18, -5.54, -12.34) | |
| CIE LCH | lch(37.18, 13.52, 245.83) | |
| CIE XYZ | xyz(8.508, 9.633, 15.318) | |
| Decimal | 4217707 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405B6B, 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 #405B6B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.93:1 | Fail | Fail | Fail |
| Sample text | 7.18:1 | Pass | Pass | Pass |
| #405B6B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.18:1 | Pass | Pass | Pass |
| Sample text | 2.93: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 #405B6B looks to people with the most common types of color vision deficiency.
#545a6cProtanopia
no red cones#4e556bDeuteranopia
no green cones#305f60Tritanopia
no blue cones#575757Achromatopsia
no color vision
CSS examples
.background { background-color: #405b6b; }
.text { color: #405b6b; }
.border { border: 2px solid #405b6b; }
.transparent { background-color: rgb(64 91 107 / 50%); }
.gradient { background: linear-gradient(to right, #405b6b, #40466b); }
Similar colors
#3f5865Stargazer#4a5c6aSeven Seas#3e5361Dark Secret#37525fMoonlit Sonata#46565fGood Night!#43535eNightfall#3b5760Great Void#4b5a62Fiord
Closest common color name: Charcoal.
Questions
- What color is #405B6B?
- #405B6B is a dark, desaturated azure, closest to the named color Stargazer. It belongs to the blue family of colors.
- What is the RGB value of #405B6B?
- The RGB value is 64, 91, 107: 64 red, 91 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #405B6B?
- The complementary color is #6B5040, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405B6B?
- White text. Black text has a contrast ratio of 2.93:1 and white text 7.18:1. WCAG asks for at least 4.5:1 for normal text.