#838DA2 color
The hex color #838DA2 is a grayish blue.
In the RGB color model it is made of 51.4% red, 55.3% green and 63.5% blue (131, 141, 162).
Its hue angle is 221°, with 14% saturation and 57% lightness. For print, the CMYK equivalent is 19% cyan, 13% magenta, 0% yellow and 36% black.
The closest named color is Silverfish (#8D95AA), a difference of 3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.3:1).
#838DA2 color codes
| HEX | #838DA2 | |
|---|---|---|
| RGB | rgb(131, 141, 162) | |
| RGB percent | rgb(51.4%, 55.3%, 63.5%) | |
| HSL | hsl(221, 14%, 57%) | |
| HSV / HSB | hsv(221, 19%, 64%) | |
| CMYK | cmyk(19%, 13%, 0%, 36%) | |
| CIE LAB | lab(58.49, 0.99, -12.31) | |
| CIE LCH | lch(58.49, 12.35, 274.6) | |
| CIE XYZ | xyz(25.405, 26.483, 37.949) | |
| Decimal | 8621474 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838DA2, 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 #838DA2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.3:1 | Pass | Fail | Pass |
| Sample text | 3.34:1 | Fail | Fail | Pass |
| #838DA2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.34:1 | Fail | Fail | Pass |
| Sample text | 6.3: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 #838DA2 looks to people with the most common types of color vision deficiency.
#878ea3Protanopia
no red cones#848ba1Deuteranopia
no green cones#7c9194Tritanopia
no blue cones#8d8d8dAchromatopsia
no color vision
CSS examples
.background { background-color: #838da2; }
.text { color: #838da2; }
.border { border: 2px solid #838da2; }
.transparent { background-color: rgb(131 141 162 / 50%); }
.gradient { background: linear-gradient(to right, #838da2, #8883a2); }
Similar colors
#8d95aaSilverfish#838996Roman Silver#79839bTempest#8c92acCool Gray#8d99b1Moon Veil#7f8793Sea Lion#888899Dusty Chimney#74819aStonewash
Questions
- What color is #838DA2?
- #838DA2 is a grayish blue, closest to the named color Silverfish. It belongs to the gray family of colors.
- What is the RGB value of #838DA2?
- The RGB value is 131, 141, 162: 131 red, 141 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #838DA2?
- The complementary color is #A29883, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838DA2?
- Black text. Black text has a contrast ratio of 6.3:1 and white text 3.34:1. WCAG asks for at least 4.5:1 for normal text.