#817EA0 color
The hex color #817EA0 is a grayish blue.
In the RGB color model it is made of 50.6% red, 49.4% green and 62.7% blue (129, 126, 160).
Its hue angle is 245°, with 15% saturation and 56% lightness. For print, the CMYK equivalent is 19% cyan, 21% magenta, 0% yellow and 37% black.
The closest named color is Stormy Horizon (#777799), a difference of 3.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.43:1).
#817EA0 color codes
| HEX | #817EA0 | |
|---|---|---|
| RGB | rgb(129, 126, 160) | |
| RGB percent | rgb(50.6%, 49.4%, 62.7%) | |
| HSL | hsl(245, 15%, 56%) | |
| HSV / HSB | hsv(245, 21%, 63%) | |
| CMYK | cmyk(19%, 21%, 0%, 37%) | |
| CIE LAB | lab(54.16, 8.52, -17.73) | |
| CIE LCH | lch(54.16, 19.67, 295.65) | |
| CIE XYZ | xyz(22.858, 22.127, 36.318) | |
| Decimal | 8486560 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #817EA0, 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 #817EA0 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.43:1 | Pass | Fail | Pass |
| Sample text | 3.87:1 | Fail | Fail | Pass |
| #817EA0 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.87:1 | Fail | Fail | Pass |
| Sample text | 5.43:1 | Pass | 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 #817EA0 looks to people with the most common types of color vision deficiency.
#7682a2Protanopia
no red cones#76819fDeuteranopia
no green cones#7b8489Tritanopia
no blue cones#818181Achromatopsia
no color vision
CSS examples
.background { background-color: #817ea0; }
.text { color: #817ea0; }
.border { border: 2px solid #817ea0; }
.transparent { background-color: rgb(129 126 160 / 50%); }
.gradient { background: linear-gradient(to right, #817ea0, #927ea0); }
Similar colors
#777799Stormy Horizon#867ba9Aster#807396Purple Haze#847592Vintage#787489Flying Carpet#787e93Your Shadow#848393Mecha Metal#746c8fBureaucracy
Closest common color name: Cool Gray.
Questions
- What color is #817EA0?
- #817EA0 is a grayish blue, closest to the named color Stormy Horizon. It belongs to the blue family of colors.
- What is the RGB value of #817EA0?
- The RGB value is 129, 126, 160: 129 red, 126 green and 160 blue on a 0 to 255 scale.
- What is the complementary color of #817EA0?
- The complementary color is #9DA07E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #817EA0?
- Black text. Black text has a contrast ratio of 5.43:1 and white text 3.87:1. WCAG asks for at least 4.5:1 for normal text.