#405175 color
The hex color #405175 is a dark, desaturated blue.
In the RGB color model it is made of 25.1% red, 31.8% green and 45.9% blue (64, 81, 117).
Its hue angle is 221°, with 29% saturation and 35% lightness. For print, the CMYK equivalent is 45% cyan, 31% magenta, 0% yellow and 54% black.
The closest named color is Noble Knight (#394D78), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.92:1).
#405175 color codes
| HEX | #405175 | |
|---|---|---|
| RGB | rgb(64, 81, 117) | |
| RGB percent | rgb(25.1%, 31.8%, 45.9%) | |
| HSL | hsl(221, 29%, 35%) | |
| HSV / HSB | hsv(221, 45%, 46%) | |
| CMYK | cmyk(45%, 31%, 0%, 54%) | |
| CIE LAB | lab(34.52, 3.79, -22.64) | |
| CIE LCH | lch(34.52, 22.95, 279.5) | |
| CIE XYZ | xyz(8.267, 8.259, 17.985) | |
| Decimal | 4215157 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405175, 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 #405175 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.65:1 | Fail | Fail | Fail |
| Sample text | 7.92:1 | Pass | Pass | Pass |
| #405175 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.92:1 | Pass | Pass | Pass |
| Sample text | 2.65: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 #405175 looks to people with the most common types of color vision deficiency.
#445477Protanopia
no red cones#3f4f74Deuteranopia
no green cones#2d595eTritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #405175; }
.text { color: #405175; }
.border { border: 2px solid #405175; }
.transparent { background-color: rgb(64 81 117 / 50%); }
.gradient { background: linear-gradient(to right, #405175, #4a4075); }
Similar colors
#394d78Noble Knight#445780Sailor#39527dSt. Tropaz#384b6bNaval Blue#4c567aDeep Indigo#32496fMidnight Interlude#314a76Dragonfly#3a4866Bonne Nuit
Closest common color name: Dark Slate Blue.
Questions
- What color is #405175?
- #405175 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 #405175?
- The RGB value is 64, 81, 117: 64 red, 81 green and 117 blue on a 0 to 255 scale.
- What is the complementary color of #405175?
- The complementary color is #756440, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405175?
- White text. Black text has a contrast ratio of 2.65:1 and white text 7.92:1. WCAG asks for at least 4.5:1 for normal text.