#405F99 color
The hex color #405F99 is a desaturated azure.
In the RGB color model it is made of 25.1% red, 37.3% green and 60% blue (64, 95, 153).
Its hue angle is 219°, with 41% saturation and 43% lightness. For print, the CMYK equivalent is 58% cyan, 38% magenta, 0% yellow and 40% black.
The closest named color is Starstruck (#4664A5), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.34:1).
#405F99 color codes
| HEX | #405F99 | |
|---|---|---|
| RGB | rgb(64, 95, 153) | |
| RGB percent | rgb(25.1%, 37.3%, 60%) | |
| HSL | hsl(219, 41%, 43%) | |
| HSV / HSB | hsv(219, 58%, 60%) | |
| CMYK | cmyk(58%, 38%, 0%, 40%) | |
| CIE LAB | lab(40.53, 6.85, -35.14) | |
| CIE LCH | lch(40.53, 35.8, 281.03) | |
| CIE XYZ | xyz(11.954, 11.573, 31.735) | |
| Decimal | 4218777 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405F99, 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 #405F99 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.31:1 | Fail | Fail | Pass |
| Sample text | 6.34:1 | Pass | Fail | Pass |
| #405F99 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.34:1 | Pass | Fail | Pass |
| Sample text | 3.31:1 | Fail | Fail | Pass |
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 #405F99 looks to people with the most common types of color vision deficiency.
#47649bProtanopia
no red cones#3c5c98Deuteranopia
no green cones#006c74Tritanopia
no blue cones#606060Achromatopsia
no color vision
CSS examples
.background { background-color: #405f99; }
.text { color: #405f99; }
.border { border: 2px solid #405f99; }
.transparent { background-color: rgb(64 95 153 / 50%); }
.gradient { background: linear-gradient(to right, #405f99, #4e4099); }
Similar colors
#4664a5Starstruck#466590Sea of Galilee#3b638cMississippi River#335588Glimpse of Void#225599Fist of the North Star#1d5699Blue Chip#4d5b88Wizard#445780Sailor
Closest common color name: Denim.
Questions
- What color is #405F99?
- #405F99 is a desaturated azure, closest to the named color Starstruck. It belongs to the blue family of colors.
- What is the RGB value of #405F99?
- The RGB value is 64, 95, 153: 64 red, 95 green and 153 blue on a 0 to 255 scale.
- What is the complementary color of #405F99?
- The complementary color is #997A40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405F99?
- White text. Black text has a contrast ratio of 3.31:1 and white text 6.34:1. WCAG asks for at least 4.5:1 for normal text.