#8B8AAA color
The hex color #8B8AAA is a grayish blue.
In the RGB color model it is made of 54.5% red, 54.1% green and 66.7% blue (139, 138, 170).
Its hue angle is 242°, with 16% saturation and 60% lightness. For print, the CMYK equivalent is 18% cyan, 19% magenta, 0% yellow and 33% black.
The closest named color is Cool Gray (#8C92AC), a difference of 4.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.31:1).
#8B8AAA color codes
| HEX | #8B8AAA | |
|---|---|---|
| RGB | rgb(139, 138, 170) | |
| RGB percent | rgb(54.5%, 54.1%, 66.7%) | |
| HSL | hsl(242, 16%, 60%) | |
| HSV / HSB | hsv(242, 19%, 67%) | |
| CMYK | cmyk(18%, 19%, 0%, 33%) | |
| CIE LAB | lab(58.57, 7.21, -16.7) | |
| CIE LCH | lch(58.57, 18.19, 293.35) | |
| CIE XYZ | xyz(26.99, 26.568, 41.729) | |
| Decimal | 9145002 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8B8AAA, 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 #8B8AAA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.31:1 | Pass | Fail | Pass |
| Sample text | 3.33:1 | Fail | Fail | Pass |
| #8B8AAA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.33:1 | Fail | Fail | Pass |
| Sample text | 6.31: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 #8B8AAA looks to people with the most common types of color vision deficiency.
#828eabProtanopia
no red cones#828ca9Deuteranopia
no green cones#858f95Tritanopia
no blue cones#8d8d8dAchromatopsia
no color vision
CSS examples
.background { background-color: #8b8aaa; }
.text { color: #8b8aaa; }
.border { border: 2px solid #8b8aaa; }
.transparent { background-color: rgb(139 138 170 / 50%); }
.gradient { background: linear-gradient(to right, #8b8aaa, #9b8aaa); }
Similar colors
#8c92acCool Gray#888899Dusty Chimney#7f8cb8Galactic Gossamer#a090b8Wizard’s Brew#867ba9Aster#848393Mecha Metal#95859cHatoba Pigeon#8d95aaSilverfish
Questions
- What color is #8B8AAA?
- #8B8AAA 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 #8B8AAA?
- The RGB value is 139, 138, 170: 139 red, 138 green and 170 blue on a 0 to 255 scale.
- What is the complementary color of #8B8AAA?
- The complementary color is #A9AA8A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8B8AAA?
- Black text. Black text has a contrast ratio of 6.31:1 and white text 3.33:1. WCAG asks for at least 4.5:1 for normal text.