#406A7D color
The hex color #406A7D is a dark, desaturated azure.
In the RGB color model it is made of 25.1% red, 41.6% green and 49% blue (64, 106, 125).
Its hue angle is 199°, with 32% saturation and 37% lightness. For print, the CMYK equivalent is 49% cyan, 15% magenta, 0% yellow and 51% black.
The closest named color is Crashing Waves (#3E6F87), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.87:1).
#406A7D color codes
| HEX | #406A7D | |
|---|---|---|
| RGB | rgb(64, 106, 125) | |
| RGB percent | rgb(25.1%, 41.6%, 49%) | |
| HSL | hsl(199, 32%, 37%) | |
| HSV / HSB | hsv(199, 49%, 49%) | |
| CMYK | cmyk(49%, 15%, 0%, 51%) | |
| CIE LAB | lab(42.58, -9.06, -15.11) | |
| CIE LCH | lch(42.58, 17.62, 239.05) | |
| CIE XYZ | xyz(10.969, 12.878, 21.306) | |
| Decimal | 4221565 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #406A7D, 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 #406A7D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.58:1 | Fail | Fail | Pass |
| Sample text | 5.87:1 | Pass | Fail | Pass |
| #406A7D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.87:1 | Pass | Fail | Pass |
| Sample text | 3.58: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 #406A7D looks to people with the most common types of color vision deficiency.
#60687eProtanopia
no red cones#57627dDeuteranopia
no green cones#236f70Tritanopia
no blue cones#656565Achromatopsia
no color vision
CSS examples
.background { background-color: #406a7d; }
.text { color: #406a7d; }
.border { border: 2px solid #406a7d; }
.transparent { background-color: rgb(64 106 125 / 50%); }
.gradient { background: linear-gradient(to right, #406a7d, #404b7d); }
Similar colors
#3e6f87Crashing Waves#3d7188Calypso#376f89Astral#336172Atlantis#4f6f85Shipyard#216987Sea Goddess#256d8dChill of the Night#306a78Ocean’s Embrace
Closest common color name: Cerulean.
Questions
- What color is #406A7D?
- #406A7D is a dark, desaturated azure, closest to the named color Crashing Waves. It belongs to the blue family of colors.
- What is the RGB value of #406A7D?
- The RGB value is 64, 106, 125: 64 red, 106 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #406A7D?
- The complementary color is #7D5340, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #406A7D?
- White text. Black text has a contrast ratio of 3.58:1 and white text 5.87:1. WCAG asks for at least 4.5:1 for normal text.