#405176 color
The hex color #405176 is a dark, desaturated blue.
In the RGB color model it is made of 25.1% red, 31.8% green and 46.3% blue (64, 81, 118).
Its hue angle is 221°, with 30% saturation and 36% lightness. For print, the CMYK equivalent is 46% cyan, 31% magenta, 0% yellow and 54% black.
The closest named color is Noble Knight (#394D78), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.9:1).
#405176 color codes
| HEX | #405176 | |
|---|---|---|
| RGB | rgb(64, 81, 118) | |
| RGB percent | rgb(25.1%, 31.8%, 46.3%) | |
| HSL | hsl(221, 30%, 36%) | |
| HSV / HSB | hsv(221, 46%, 46%) | |
| CMYK | cmyk(46%, 31%, 0%, 54%) | |
| CIE LAB | lab(34.56, 4.11, -23.18) | |
| CIE LCH | lch(34.56, 23.55, 280.05) | |
| CIE XYZ | xyz(8.326, 8.282, 18.296) | |
| Decimal | 4215158 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405176, 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 #405176 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.66:1 | Fail | Fail | Fail |
| Sample text | 7.9:1 | Pass | Pass | Pass |
| #405176 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.9:1 | Pass | Pass | Pass |
| Sample text | 2.66: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 #405176 looks to people with the most common types of color vision deficiency.
#445478Protanopia
no red cones#3e4f75Deuteranopia
no green cones#2c595eTritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #405176; }
.text { color: #405176; }
.border { border: 2px solid #405176; }
.transparent { background-color: rgb(64 81 118 / 50%); }
.gradient { background: linear-gradient(to right, #405176, #4a4076); }
Similar colors
#394d78Noble Knight#445780Sailor#39527dSt. Tropaz#384b6bNaval Blue#4c567aDeep Indigo#32496fMidnight Interlude#314a76Dragonfly#3b476bStarlit Night
Closest common color name: Dark Slate Blue.
Questions
- What color is #405176?
- #405176 is a dark, desaturated blue, closest to the named color Noble Knight. It belongs to the blue family of colors.
- What is the RGB value of #405176?
- The RGB value is 64, 81, 118: 64 red, 81 green and 118 blue on a 0 to 255 scale.
- What is the complementary color of #405176?
- The complementary color is #766540, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405176?
- White text. Black text has a contrast ratio of 2.66:1 and white text 7.9:1. WCAG asks for at least 4.5:1 for normal text.