#838EAF color
The hex color #838EAF is a grayish blue.
In the RGB color model it is made of 51.4% red, 55.7% green and 68.6% blue (131, 142, 175).
Its hue angle is 225°, with 22% saturation and 60% lightness. For print, the CMYK equivalent is 25% cyan, 19% magenta, 0% yellow and 31% black.
The closest named color is Galactic Gossamer (#7F8CB8), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.45:1).
#838EAF color codes
| HEX | #838EAF | |
|---|---|---|
| RGB | rgb(131, 142, 175) | |
| RGB percent | rgb(51.4%, 55.7%, 68.6%) | |
| HSL | hsl(225, 22%, 60%) | |
| HSV / HSB | hsv(225, 25%, 69%) | |
| CMYK | cmyk(25%, 19%, 0%, 31%) | |
| CIE LAB | lab(59.22, 3.52, -18.62) | |
| CIE LCH | lch(59.22, 18.95, 280.71) | |
| CIE XYZ | xyz(26.769, 27.266, 44.402) | |
| Decimal | 8621743 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838EAF, 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 #838EAF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.45:1 | Pass | Fail | Pass |
| Sample text | 3.25:1 | Fail | Fail | Pass |
| #838EAF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.25:1 | Fail | Fail | Pass |
| Sample text | 6.45: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 #838EAF looks to people with the most common types of color vision deficiency.
#8491b1Protanopia
no red cones#818daeDeuteranopia
no green cones#789499Tritanopia
no blue cones#8f8f8fAchromatopsia
no color vision
CSS examples
.background { background-color: #838eaf; }
.text { color: #838eaf; }
.border { border: 2px solid #838eaf; }
.transparent { background-color: rgb(131 142 175 / 50%); }
.gradient { background: linear-gradient(to right, #838eaf, #8e83af); }
Similar colors
#7f8cb8Galactic Gossamer#8c92acCool Gray#8d95aaSilverfish#8d99b1Moon Veil#79839bTempest#8e97c7Easter Egg#7181a4English Manor#7c94b3Celestial Horizon
Questions
- What color is #838EAF?
- #838EAF is a grayish blue, closest to the named color Galactic Gossamer. It belongs to the blue family of colors.
- What is the RGB value of #838EAF?
- The RGB value is 131, 142, 175: 131 red, 142 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #838EAF?
- The complementary color is #AFA483, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838EAF?
- Black text. Black text has a contrast ratio of 6.45:1 and white text 3.25:1. WCAG asks for at least 4.5:1 for normal text.