#838AAF color
The hex color #838AAF is a grayish blue.
In the RGB color model it is made of 51.4% red, 54.1% green and 68.6% blue (131, 138, 175).
Its hue angle is 230°, with 22% saturation and 60% lightness. For print, the CMYK equivalent is 25% cyan, 21% magenta, 0% yellow and 31% black.
The closest named color is Galactic Gossamer (#7F8CB8), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.22:1).
#838AAF color codes
| HEX | #838AAF | |
|---|---|---|
| RGB | rgb(131, 138, 175) | |
| RGB percent | rgb(51.4%, 54.1%, 68.6%) | |
| HSL | hsl(230, 22%, 60%) | |
| HSV / HSB | hsv(230, 25%, 69%) | |
| CMYK | cmyk(25%, 21%, 0%, 31%) | |
| CIE LAB | lab(58.13, 5.82, -20.29) | |
| CIE LCH | lch(58.13, 21.1, 286.01) | |
| CIE XYZ | xyz(26.184, 26.097, 44.207) | |
| Decimal | 8620719 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838AAF, 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 #838AAF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.22:1 | Pass | Fail | Pass |
| Sample text | 3.38:1 | Fail | Fail | Pass |
| #838AAF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.38:1 | Fail | Fail | Pass |
| Sample text | 6.22: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 #838AAF looks to people with the most common types of color vision deficiency.
#808db1Protanopia
no red cones#7d8aaeDeuteranopia
no green cones#789196Tritanopia
no blue cones#8c8c8cAchromatopsia
no color vision
CSS examples
.background { background-color: #838aaf; }
.text { color: #838aaf; }
.border { border: 2px solid #838aaf; }
.transparent { background-color: rgb(131 138 175 / 50%); }
.gradient { background: linear-gradient(to right, #838aaf, #9283af); }
Similar colors
#7f8cb8Galactic Gossamer#8c92acCool Gray#7181a4English Manor#8e97c7Easter Egg#79839bTempest#74819aStonewash#9488beMagic Carpet#8d95aaSilverfish
Questions
- What color is #838AAF?
- #838AAF 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 #838AAF?
- The RGB value is 131, 138, 175: 131 red, 138 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #838AAF?
- The complementary color is #AFA883, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838AAF?
- Black text. Black text has a contrast ratio of 6.22:1 and white text 3.38:1. WCAG asks for at least 4.5:1 for normal text.