#8A87A6 color
The hex color #8A87A6 is a grayish blue.
In the RGB color model it is made of 54.1% red, 52.9% green and 65.1% blue (138, 135, 166).
Its hue angle is 246°, with 15% saturation and 59% lightness. For print, the CMYK equivalent is 17% cyan, 19% magenta, 0% yellow and 35% black.
The closest named color is Cool Gray (#8C92AC), a difference of 5.4 ΔE.
Black text is the more readable choice on this background (contrast 6.1:1).
#8A87A6 color codes
| HEX | #8A87A6 | |
|---|---|---|
| RGB | rgb(138, 135, 166) | |
| RGB percent | rgb(54.1%, 52.9%, 65.1%) | |
| HSL | hsl(246, 15%, 59%) | |
| HSV / HSB | hsv(246, 19%, 65%) | |
| CMYK | cmyk(17%, 19%, 0%, 35%) | |
| CIE LAB | lab(57.54, 7.69, -15.98) | |
| CIE LCH | lch(57.54, 17.73, 295.68) | |
| CIE XYZ | xyz(26.027, 25.484, 39.617) | |
| Decimal | 9078694 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A87A6, 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 #8A87A6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.1:1 | Pass | Fail | Pass |
| Sample text | 3.44:1 | Fail | Fail | Pass |
| #8A87A6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.44:1 | Fail | Fail | Pass |
| Sample text | 6.1: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 #8A87A6 looks to people with the most common types of color vision deficiency.
#808ba7Protanopia
no red cones#808aa5Deuteranopia
no green cones#848c91Tritanopia
no blue cones#8a8a8aAchromatopsia
no color vision
CSS examples
.background { background-color: #8a87a6; }
.text { color: #8a87a6; }
.border { border: 2px solid #8a87a6; }
.transparent { background-color: rgb(138 135 166 / 50%); }
.gradient { background: linear-gradient(to right, #8a87a6, #9987a6); }
Similar colors
#8c92acCool Gray#888899Dusty Chimney#95859cHatoba Pigeon#867ba9Aster#848393Mecha Metal#777799Stormy Horizon#a090b8Wizard’s Brew#7f8cb8Galactic Gossamer
Questions
- What color is #8A87A6?
- #8A87A6 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 #8A87A6?
- The RGB value is 138, 135, 166: 138 red, 135 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #8A87A6?
- The complementary color is #A3A687, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A87A6?
- Black text. Black text has a contrast ratio of 6.1:1 and white text 3.44:1. WCAG asks for at least 4.5:1 for normal text.