#405371 color
The hex color #405371 is a dark, desaturated azure.
In the RGB color model it is made of 25.1% red, 32.5% green and 44.3% blue (64, 83, 113).
Its hue angle is 217°, with 28% saturation and 35% lightness. For print, the CMYK equivalent is 43% cyan, 27% magenta, 0% yellow and 56% black.
The closest named color is Naval Blue (#384B6B), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.8:1).
#405371 color codes
| HEX | #405371 | |
|---|---|---|
| RGB | rgb(64, 83, 113) | |
| RGB percent | rgb(25.1%, 32.5%, 44.3%) | |
| HSL | hsl(217, 28%, 35%) | |
| HSV / HSB | hsv(217, 43%, 44%) | |
| CMYK | cmyk(43%, 27%, 0%, 56%) | |
| CIE LAB | lab(34.94, 1.25, -19.49) | |
| CIE LCH | lch(34.94, 19.53, 273.67) | |
| CIE XYZ | xyz(8.187, 8.468, 16.823) | |
| Decimal | 4215665 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405371, 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 #405371 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.69:1 | Fail | Fail | Fail |
| Sample text | 7.8:1 | Pass | Pass | Pass |
| #405371 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 #405371 looks to people with the most common types of color vision deficiency.
#485572Protanopia
no red cones#435070Deuteranopia
no green cones#2f595dTritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #405371; }
.text { color: #405371; }
.border { border: 2px solid #405371; }
.transparent { background-color: rgb(64 83 113 / 50%); }
.gradient { background: linear-gradient(to right, #405371, #454071); }
Similar colors
#384b6bNaval Blue#44556bInkjet#39527dSt. Tropaz#425267Into the Stratosphere#3a4a63Silent Sea#445780Sailor#394d78Noble Knight#3a4866Bonne Nuit
Closest common color name: Charcoal.
Questions
- What color is #405371?
- #405371 is a dark, desaturated azure, closest to the named color Naval Blue. It belongs to the blue family of colors.
- What is the RGB value of #405371?
- The RGB value is 64, 83, 113: 64 red, 83 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #405371?
- The complementary color is #715E40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405371?
- 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.