#838CB3 color
The hex color #838CB3 is a grayish blue.
In the RGB color model it is made of 51.4% red, 54.9% green and 70.2% blue (131, 140, 179).
Its hue angle is 229°, with 24% saturation and 61% lightness. For print, the CMYK equivalent is 27% cyan, 22% magenta, 0% yellow and 30% black.
The closest named color is Galactic Gossamer (#7F8CB8), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.37:1).
#838CB3 color codes
| HEX | #838CB3 | |
|---|---|---|
| RGB | rgb(131, 140, 179) | |
| RGB percent | rgb(51.4%, 54.9%, 70.2%) | |
| HSL | hsl(229, 24%, 61%) | |
| HSV / HSB | hsv(229, 27%, 70%) | |
| CMYK | cmyk(27%, 22%, 0%, 30%) | |
| CIE LAB | lab(58.82, 5.66, -21.5) | |
| CIE LCH | lch(58.82, 22.24, 284.74) | |
| CIE XYZ | xyz(26.873, 26.835, 46.403) | |
| Decimal | 8621235 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838CB3, 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 #838CB3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.37:1 | Pass | Fail | Pass |
| Sample text | 3.3:1 | Fail | Fail | Pass |
| #838CB3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.3:1 | Fail | Fail | Pass |
| Sample text | 6.37: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 #838CB3 looks to people with the most common types of color vision deficiency.
#8190b5Protanopia
no red cones#7d8cb2Deuteranopia
no green cones#779399Tritanopia
no blue cones#8d8d8dAchromatopsia
no color vision
CSS examples
.background { background-color: #838cb3; }
.text { color: #838cb3; }
.border { border: 2px solid #838cb3; }
.transparent { background-color: rgb(131 140 179 / 50%); }
.gradient { background: linear-gradient(to right, #838cb3, #9283b3); }
Similar colors
#7f8cb8Galactic Gossamer#8e97c7Easter Egg#8c92acCool Gray#7181a4English Manor#6d86b6Kimono#79839bTempest#6d83bbOrbital#8d95aaSilverfish
Questions
- What color is #838CB3?
- #838CB3 is a grayish blue, closest to the named color Galactic Gossamer. It belongs to the blue family of colors.
- What is the RGB value of #838CB3?
- The RGB value is 131, 140, 179: 131 red, 140 green and 179 blue on a 0 to 255 scale.
- What is the complementary color of #838CB3?
- The complementary color is #B3AA83, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838CB3?
- Black text. Black text has a contrast ratio of 6.37:1 and white text 3.3:1. WCAG asks for at least 4.5:1 for normal text.