#8A8AAE color
The hex color #8A8AAE is a grayish blue.
In the RGB color model it is made of 54.1% red, 54.1% green and 68.2% blue (138, 138, 174).
Its hue angle is 240°, with 18% saturation and 61% lightness. For print, the CMYK equivalent is 21% cyan, 21% magenta, 0% yellow and 32% black.
The closest named color is Cool Gray (#8C92AC), a difference of 4.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.33:1).
#8A8AAE color codes
| HEX | #8A8AAE | |
|---|---|---|
| RGB | rgb(138, 138, 174) | |
| RGB percent | rgb(54.1%, 54.1%, 68.2%) | |
| HSL | hsl(240, 18%, 61%) | |
| HSV / HSB | hsv(240, 21%, 68%) | |
| CMYK | cmyk(21%, 21%, 0%, 32%) | |
| CIE LAB | lab(58.64, 7.82, -18.89) | |
| CIE LCH | lch(58.64, 20.45, 292.48) | |
| CIE XYZ | xyz(27.208, 26.636, 43.744) | |
| Decimal | 9079470 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A8AAE, 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 #8A8AAE | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.33:1 | Pass | Fail | Pass |
| Sample text | 3.32:1 | Fail | Fail | Pass |
| #8A8AAE as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.32:1 | Fail | Fail | Pass |
| Sample text | 6.33: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 #8A8AAE looks to people with the most common types of color vision deficiency.
#818eb0Protanopia
no red cones#808cadDeuteranopia
no green cones#829096Tritanopia
no blue cones#8d8d8dAchromatopsia
no color vision
CSS examples
.background { background-color: #8a8aae; }
.text { color: #8a8aae; }
.border { border: 2px solid #8a8aae; }
.transparent { background-color: rgb(138 138 174 / 50%); }
.gradient { background: linear-gradient(to right, #8a8aae, #9c8aae); }
Similar colors
#8c92acCool Gray#7f8cb8Galactic Gossamer#9488beMagic Carpet#867ba9Aster#8e97c7Easter Egg#a090b8Wizard’s Brew#888899Dusty Chimney#777799Stormy Horizon
Questions
- What color is #8A8AAE?
- #8A8AAE 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 #8A8AAE?
- The RGB value is 138, 138, 174: 138 red, 138 green and 174 blue on a 0 to 255 scale.
- What is the complementary color of #8A8AAE?
- The complementary color is #AEAE8A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A8AAE?
- Black text. Black text has a contrast ratio of 6.33:1 and white text 3.32:1. WCAG asks for at least 4.5:1 for normal text.