#8C8BA8 color
The hex color #8C8BA8 is a grayish blue.
In the RGB color model it is made of 54.9% red, 54.5% green and 65.9% blue (140, 139, 168).
Its hue angle is 242°, with 14% saturation and 60% lightness. For print, the CMYK equivalent is 17% cyan, 17% magenta, 0% yellow and 34% black.
The closest named color is Cool Gray (#8C92AC), a difference of 3.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.37:1).
#8C8BA8 color codes
| HEX | #8C8BA8 | |
|---|---|---|
| RGB | rgb(140, 139, 168) | |
| RGB percent | rgb(54.9%, 54.5%, 65.9%) | |
| HSL | hsl(242, 14%, 60%) | |
| HSV / HSB | hsv(242, 17%, 66%) | |
| CMYK | cmyk(17%, 17%, 0%, 34%) | |
| CIE LAB | lab(58.85, 6.51, -15.13) | |
| CIE LCH | lch(58.85, 16.47, 293.28) | |
| CIE XYZ | xyz(27.114, 26.868, 40.796) | |
| Decimal | 9210792 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8C8BA8, 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 #8C8BA8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.37:1 | Pass | Fail | Pass |
| Sample text | 3.29:1 | Fail | Fail | Pass |
| #8C8BA8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.29:1 | Fail | Fail | Pass |
| Sample text | 6.37: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 #8C8BA8 looks to people with the most common types of color vision deficiency.
#848ea9Protanopia
no red cones#848da7Deuteranopia
no green cones#869095Tritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #8c8ba8; }
.text { color: #8c8ba8; }
.border { border: 2px solid #8c8ba8; }
.transparent { background-color: rgb(140 139 168 / 50%); }
.gradient { background: linear-gradient(to right, #8c8ba8, #9b8ba8); }
Similar colors
#8c92acCool Gray#888899Dusty Chimney#848393Mecha Metal#8d95aaSilverfish#95859cHatoba Pigeon#9999aaMachinery#7f8cb8Galactic Gossamer#79839bTempest
Questions
- What color is #8C8BA8?
- #8C8BA8 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 #8C8BA8?
- The RGB value is 140, 139, 168: 140 red, 139 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #8C8BA8?
- The complementary color is #A7A88B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8C8BA8?
- Black text. Black text has a contrast ratio of 6.37:1 and white text 3.29:1. WCAG asks for at least 4.5:1 for normal text.