#8791AB color
The hex color #8791AB is a grayish blue.
In the RGB color model it is made of 52.9% red, 56.9% green and 67.1% blue (135, 145, 171).
Its hue angle is 223°, with 18% saturation and 60% lightness. For print, the CMYK equivalent is 21% cyan, 15% magenta, 0% yellow and 33% black.
The closest named color is Cool Gray (#8C92AC), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.67:1).
#8791AB color codes
| HEX | #8791AB | |
|---|---|---|
| RGB | rgb(135, 145, 171) | |
| RGB percent | rgb(52.9%, 56.9%, 67.1%) | |
| HSL | hsl(223, 18%, 60%) | |
| HSV / HSB | hsv(223, 21%, 67%) | |
| CMYK | cmyk(21%, 15%, 0%, 33%) | |
| CIE LAB | lab(60.2, 2.13, -14.84) | |
| CIE LCH | lch(60.2, 14.99, 278.18) | |
| CIE XYZ | xyz(27.466, 28.341, 42.544) | |
| Decimal | 8884651 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8791AB, 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 #8791AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.67:1 | Pass | Fail | Pass |
| Sample text | 3.15:1 | Fail | Fail | Pass |
| #8791AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.15:1 | Fail | Fail | Pass |
| Sample text | 6.67: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 #8791AB looks to people with the most common types of color vision deficiency.
#8993acProtanopia
no red cones#8690aaDeuteranopia
no green cones#7e9699Tritanopia
no blue cones#919191Achromatopsia
no color vision
CSS examples
.background { background-color: #8791ab; }
.text { color: #8791ab; }
.border { border: 2px solid #8791ab; }
.transparent { background-color: rgb(135 145 171 / 50%); }
.gradient { background: linear-gradient(to right, #8791ab, #8f87ab); }
Similar colors
#8c92acCool Gray#8d95aaSilverfish#8d99b1Moon Veil#7c94b3Celestial Horizon#79839bTempest#869cbbSailing#7f8cb8Galactic Gossamer#888899Dusty Chimney
Questions
- What color is #8791AB?
- #8791AB is a grayish blue, closest to the named color Cool Gray. It belongs to the blue family of colors.
- What is the RGB value of #8791AB?
- The RGB value is 135, 145, 171: 135 red, 145 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #8791AB?
- The complementary color is #ABA187, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8791AB?
- Black text. Black text has a contrast ratio of 6.67:1 and white text 3.15:1. WCAG asks for at least 4.5:1 for normal text.