#838DC5 color
The hex color #838DC5 is a light, desaturated blue.
In the RGB color model it is made of 51.4% red, 55.3% green and 77.3% blue (131, 141, 197).
Its hue angle is 231°, with 36% saturation and 64% lightness. For print, the CMYK equivalent is 34% cyan, 28% magenta, 0% yellow and 23% black.
The closest named color is Galactic Gossamer (#7F8CB8), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.58:1).
#838DC5 color codes
| HEX | #838DC5 | |
|---|---|---|
| RGB | rgb(131, 141, 197) | |
| RGB percent | rgb(51.4%, 55.3%, 77.3%) | |
| HSL | hsl(231, 36%, 64%) | |
| HSV / HSB | hsv(231, 34%, 77%) | |
| CMYK | cmyk(34%, 28%, 0%, 23%) | |
| CIE LAB | lab(59.8, 9.72, -30.18) | |
| CIE LCH | lch(59.8, 31.71, 287.84) | |
| CIE XYZ | xyz(28.96, 27.905, 56.673) | |
| Decimal | 8621509 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838DC5, 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 #838DC5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.58:1 | Pass | Fail | Pass |
| Sample text | 3.19:1 | Fail | Fail | Pass |
| #838DC5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.19:1 | Fail | Fail | Pass |
| Sample text | 6.58: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 #838DC5 looks to people with the most common types of color vision deficiency.
#7c93c7Protanopia
no red cones#778ec4Deuteranopia
no green cones#7198a1Tritanopia
no blue cones#909090Achromatopsia
no color vision
CSS examples
.background { background-color: #838dc5; }
.text { color: #838dc5; }
.border { border: 2px solid #838dc5; }
.transparent { background-color: rgb(131 141 197 / 50%); }
.gradient { background: linear-gradient(to right, #838dc5, #9a83c5); }
Similar colors
#7f8cb8Galactic Gossamer#8e97c7Easter Egg#6d83bbOrbital#6d86b6Kimono#7794c0King Neptune#8fa0d5Azureno#9488beMagic Carpet#7c94b3Celestial Horizon
Closest common color name: Cool Gray.
Questions
- What color is #838DC5?
- #838DC5 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 #838DC5?
- The RGB value is 131, 141, 197: 131 red, 141 green and 197 blue on a 0 to 255 scale.
- What is the complementary color of #838DC5?
- The complementary color is #C5BB83, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838DC5?
- Black text. Black text has a contrast ratio of 6.58:1 and white text 3.19:1. WCAG asks for at least 4.5:1 for normal text.