#8C8AAC color
The hex color #8C8AAC is a grayish blue.
In the RGB color model it is made of 54.9% red, 54.1% green and 67.5% blue (140, 138, 172).
Its hue angle is 244°, with 17% saturation and 61% lightness. For print, the CMYK equivalent is 19% cyan, 20% magenta, 0% yellow and 33% black.
The closest named color is Cool Gray (#8C92AC), a difference of 4.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.35:1).
#8C8AAC color codes
| HEX | #8C8AAC | |
|---|---|---|
| RGB | rgb(140, 138, 172) | |
| RGB percent | rgb(54.9%, 54.1%, 67.5%) | |
| HSL | hsl(244, 17%, 61%) | |
| HSV / HSB | hsv(244, 20%, 67%) | |
| CMYK | cmyk(19%, 20%, 0%, 33%) | |
| CIE LAB | lab(58.72, 8, -17.6) | |
| CIE LCH | lch(58.72, 19.34, 294.45) | |
| CIE XYZ | xyz(27.348, 26.731, 42.74) | |
| Decimal | 9210540 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8C8AAC, 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 #8C8AAC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.35:1 | Pass | Fail | Pass |
| Sample text | 3.31:1 | Fail | Fail | Pass |
| #8C8AAC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.31:1 | Fail | Fail | Pass |
| Sample text | 6.35: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 #8C8AAC looks to people with the most common types of color vision deficiency.
#828eaeProtanopia
no red cones#818cabDeuteranopia
no green cones#859095Tritanopia
no blue cones#8d8d8dAchromatopsia
no color vision
CSS examples
.background { background-color: #8c8aac; }
.text { color: #8c8aac; }
.border { border: 2px solid #8c8aac; }
.transparent { background-color: rgb(140 138 172 / 50%); }
.gradient { background: linear-gradient(to right, #8c8aac, #9d8aac); }
Similar colors
#8c92acCool Gray#9488beMagic Carpet#a090b8Wizard’s Brew#7f8cb8Galactic Gossamer#867ba9Aster#888899Dusty Chimney#95859cHatoba Pigeon#8e97c7Easter Egg
Questions
- What color is #8C8AAC?
- #8C8AAC 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 #8C8AAC?
- The RGB value is 140, 138, 172: 140 red, 138 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #8C8AAC?
- The complementary color is #AAAC8A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8C8AAC?
- Black text. Black text has a contrast ratio of 6.35:1 and white text 3.31:1. WCAG asks for at least 4.5:1 for normal text.