#838EAB color
The hex color #838EAB is a grayish blue.
In the RGB color model it is made of 51.4% red, 55.7% green and 67.1% blue (131, 142, 171).
Its hue angle is 223°, with 19% saturation and 59% lightness. For print, the CMYK equivalent is 23% cyan, 17% magenta, 0% yellow and 33% black.
The closest named color is Cool Gray (#8C92AC), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.42:1).
#838EAB color codes
| HEX | #838EAB | |
|---|---|---|
| RGB | rgb(131, 142, 171) | |
| RGB percent | rgb(51.4%, 55.7%, 67.1%) | |
| HSL | hsl(223, 19%, 59%) | |
| HSV / HSB | hsv(223, 23%, 67%) | |
| CMYK | cmyk(23%, 17%, 0%, 33%) | |
| CIE LAB | lab(59.08, 2.55, -16.56) | |
| CIE LCH | lch(59.08, 16.76, 278.75) | |
| CIE XYZ | xyz(26.382, 27.111, 42.363) | |
| Decimal | 8621739 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838EAB, 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 #838EAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.42:1 | Pass | Fail | Pass |
| Sample text | 3.27:1 | Fail | Fail | Pass |
| #838EAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.27:1 | Fail | Fail | Pass |
| Sample text | 6.42: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 #838EAB looks to people with the most common types of color vision deficiency.
#8590acProtanopia
no red cones#828daaDeuteranopia
no green cones#799498Tritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #838eab; }
.text { color: #838eab; }
.border { border: 2px solid #838eab; }
.transparent { background-color: rgb(131 142 171 / 50%); }
.gradient { background: linear-gradient(to right, #838eab, #8c83ab); }
Similar colors
#8c92acCool Gray#8d95aaSilverfish#8d99b1Moon Veil#7f8cb8Galactic Gossamer#79839bTempest#7c94b3Celestial Horizon#74819aStonewash#7181a4English Manor
Questions
- What color is #838EAB?
- #838EAB 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 #838EAB?
- The RGB value is 131, 142, 171: 131 red, 142 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #838EAB?
- The complementary color is #ABA083, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838EAB?
- Black text. Black text has a contrast ratio of 6.42:1 and white text 3.27:1. WCAG asks for at least 4.5:1 for normal text.