#838AC5 color
The hex color #838AC5 is a light, desaturated blue.
In the RGB color model it is made of 51.4% red, 54.1% green and 77.3% blue (131, 138, 197).
Its hue angle is 234°, with 36% saturation and 64% lightness. For print, the CMYK equivalent is 34% cyan, 30% magenta, 0% yellow and 23% black.
The closest named color is Galactic Gossamer (#7F8CB8), a difference of 3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.41:1).
#838AC5 color codes
| HEX | #838AC5 | |
|---|---|---|
| RGB | rgb(131, 138, 197) | |
| RGB percent | rgb(51.4%, 54.1%, 77.3%) | |
| HSL | hsl(234, 36%, 64%) | |
| HSV / HSB | hsv(234, 34%, 77%) | |
| CMYK | cmyk(34%, 30%, 0%, 23%) | |
| CIE LAB | lab(59, 11.46, -31.42) | |
| CIE LCH | lch(59, 33.45, 290.04) | |
| CIE XYZ | xyz(28.524, 27.033, 56.527) | |
| Decimal | 8620741 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838AC5, 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 #838AC5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.41:1 | Pass | Fail | Pass |
| Sample text | 3.28:1 | Fail | Fail | Pass |
| #838AC5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.28:1 | Fail | Fail | Pass |
| Sample text | 6.41: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 #838AC5 looks to people with the most common types of color vision deficiency.
#7891c7Protanopia
no red cones#748cc4Deuteranopia
no green cones#71959fTritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #838ac5; }
.text { color: #838ac5; }
.border { border: 2px solid #838ac5; }
.transparent { background-color: rgb(131 138 197 / 50%); }
.gradient { background: linear-gradient(to right, #838ac5, #9d83c5); }
Similar colors
#7f8cb8Galactic Gossamer#8e97c7Easter Egg#6d83bbOrbital#6d86b6Kimono#9488beMagic Carpet#7794c0King Neptune#7181a4English Manor#8fa0d5Azureno
Closest common color name: Cool Gray.
Questions
- What color is #838AC5?
- #838AC5 is a light, desaturated blue, closest to the named color Galactic Gossamer. It belongs to the blue family of colors.
- What is the RGB value of #838AC5?
- The RGB value is 131, 138, 197: 131 red, 138 green and 197 blue on a 0 to 255 scale.
- What is the complementary color of #838AC5?
- The complementary color is #C5BE83, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838AC5?
- Black text. Black text has a contrast ratio of 6.41:1 and white text 3.28:1. WCAG asks for at least 4.5:1 for normal text.