#838EA5 color
The hex color #838EA5 is a grayish blue.
In the RGB color model it is made of 51.4% red, 55.7% green and 64.7% blue (131, 142, 165).
Its hue angle is 221°, with 16% saturation and 58% lightness. For print, the CMYK equivalent is 21% cyan, 14% magenta, 0% yellow and 35% black.
The closest named color is Silverfish (#8D95AA), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.38:1).
#838EA5 color codes
| HEX | #838EA5 | |
|---|---|---|
| RGB | rgb(131, 142, 165) | |
| RGB percent | rgb(51.4%, 55.7%, 64.7%) | |
| HSL | hsl(221, 16%, 58%) | |
| HSV / HSB | hsv(221, 21%, 65%) | |
| CMYK | cmyk(21%, 14%, 0%, 35%) | |
| CIE LAB | lab(58.87, 1.12, -13.46) | |
| CIE LCH | lch(58.87, 13.5, 274.76) | |
| CIE XYZ | xyz(25.823, 26.887, 39.419) | |
| Decimal | 8621733 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838EA5, 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 #838EA5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.38:1 | Pass | Fail | Pass |
| Sample text | 3.29:1 | Fail | Fail | Pass |
| #838EA5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.29:1 | Fail | Fail | Pass |
| Sample text | 6.38: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 #838EA5 looks to people with the most common types of color vision deficiency.
#878fa6Protanopia
no red cones#848ca4Deuteranopia
no green cones#7b9295Tritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #838ea5; }
.text { color: #838ea5; }
.border { border: 2px solid #838ea5; }
.transparent { background-color: rgb(131 142 165 / 50%); }
.gradient { background: linear-gradient(to right, #838ea5, #8983a5); }
Similar colors
#8d95aaSilverfish#8c92acCool Gray#8d99b1Moon Veil#79839bTempest#838996Roman Silver#7c94b3Celestial Horizon#74819aStonewash#7f8793Sea Lion
Questions
- What color is #838EA5?
- #838EA5 is a grayish blue, closest to the named color Silverfish. It belongs to the blue family of colors.
- What is the RGB value of #838EA5?
- The RGB value is 131, 142, 165: 131 red, 142 green and 165 blue on a 0 to 255 scale.
- What is the complementary color of #838EA5?
- The complementary color is #A59A83, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838EA5?
- Black text. Black text has a contrast ratio of 6.38:1 and white text 3.29:1. WCAG asks for at least 4.5:1 for normal text.