#8C8EAF color
The hex color #8C8EAF is a grayish blue.
In the RGB color model it is made of 54.9% red, 55.7% green and 68.6% blue (140, 142, 175).
Its hue angle is 237°, with 18% saturation and 62% lightness. For print, the CMYK equivalent is 20% cyan, 19% magenta, 0% yellow and 31% black.
The closest named color is Cool Gray (#8C92AC), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.6:1).
#8C8EAF color codes
| HEX | #8C8EAF | |
|---|---|---|
| RGB | rgb(140, 142, 175) | |
| RGB percent | rgb(54.9%, 55.7%, 68.6%) | |
| HSL | hsl(237, 18%, 62%) | |
| HSV / HSB | hsv(237, 20%, 69%) | |
| CMYK | cmyk(20%, 19%, 0%, 31%) | |
| CIE LAB | lab(59.9, 6.41, -17.52) | |
| CIE LCH | lch(59.9, 18.66, 290.09) | |
| CIE XYZ | xyz(28.224, 28.016, 44.47) | |
| Decimal | 9211567 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8C8EAF, 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 #8C8EAF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.6:1 | Pass | Fail | Pass |
| Sample text | 3.18:1 | Fail | Fail | Pass |
| #8C8EAF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.18:1 | Fail | Fail | Pass |
| Sample text | 6.6: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 #8C8EAF looks to people with the most common types of color vision deficiency.
#8691b1Protanopia
no red cones#848faeDeuteranopia
no green cones#849499Tritanopia
no blue cones#909090Achromatopsia
no color vision
CSS examples
.background { background-color: #8c8eaf; }
.text { color: #8c8eaf; }
.border { border: 2px solid #8c8eaf; }
.transparent { background-color: rgb(140 142 175 / 50%); }
.gradient { background: linear-gradient(to right, #8c8eaf, #9b8caf); }
Similar colors
#8c92acCool Gray#7f8cb8Galactic Gossamer#8e97c7Easter Egg#8d95aaSilverfish#888899Dusty Chimney#8d99b1Moon Veil#9999aaMachinery#a090b8Wizard’s Brew
Questions
- What color is #8C8EAF?
- #8C8EAF 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 #8C8EAF?
- The RGB value is 140, 142, 175: 140 red, 142 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #8C8EAF?
- The complementary color is #AFAD8C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8C8EAF?
- Black text. Black text has a contrast ratio of 6.6:1 and white text 3.18:1. WCAG asks for at least 4.5:1 for normal text.