#838AA4 color
The hex color #838AA4 is a grayish blue.
In the RGB color model it is made of 51.4% red, 54.1% green and 64.3% blue (131, 138, 164).
Its hue angle is 227°, with 15% saturation and 58% lightness. For print, the CMYK equivalent is 20% cyan, 16% magenta, 0% yellow and 36% black.
The closest named color is Cool Gray (#8C92AC), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.14:1).
#838AA4 color codes
| HEX | #838AA4 | |
|---|---|---|
| RGB | rgb(131, 138, 164) | |
| RGB percent | rgb(51.4%, 54.1%, 64.3%) | |
| HSL | hsl(227, 15%, 58%) | |
| HSV / HSB | hsv(227, 20%, 64%) | |
| CMYK | cmyk(20%, 16%, 0%, 36%) | |
| CIE LAB | lab(57.73, 3.17, -14.6) | |
| CIE LCH | lch(57.73, 14.94, 282.25) | |
| CIE XYZ | xyz(25.148, 25.682, 38.747) | |
| Decimal | 8620708 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838AA4, 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 #838AA4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.14:1 | Pass | Fail | Pass |
| Sample text | 3.42:1 | Fail | Fail | Pass |
| #838AA4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.42:1 | Fail | Fail | Pass |
| Sample text | 6.14: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 #838AA4 looks to people with the most common types of color vision deficiency.
#838ca5Protanopia
no red cones#8089a3Deuteranopia
no green cones#7b8f93Tritanopia
no blue cones#8b8b8bAchromatopsia
no color vision
CSS examples
.background { background-color: #838aa4; }
.text { color: #838aa4; }
.border { border: 2px solid #838aa4; }
.transparent { background-color: rgb(131 138 164 / 50%); }
.gradient { background: linear-gradient(to right, #838aa4, #8c83a4); }
Similar colors
#8c92acCool Gray#79839bTempest#888899Dusty Chimney#8d95aaSilverfish#74819aStonewash#787e93Your Shadow#848393Mecha Metal#7181a4English Manor
Questions
- What color is #838AA4?
- #838AA4 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 #838AA4?
- The RGB value is 131, 138, 164: 131 red, 138 green and 164 blue on a 0 to 255 scale.
- What is the complementary color of #838AA4?
- The complementary color is #A49D83, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838AA4?
- Black text. Black text has a contrast ratio of 6.14:1 and white text 3.42:1. WCAG asks for at least 4.5:1 for normal text.