#838CA0 color
The hex color #838CA0 is a grayish blue.
In the RGB color model it is made of 51.4% red, 54.9% green and 62.7% blue (131, 140, 160).
Its hue angle is 221°, with 13% saturation and 57% lightness. For print, the CMYK equivalent is 18% cyan, 12% magenta, 0% yellow and 37% black.
The closest named color is Roman Silver (#838996), a difference of 3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.22:1).
#838CA0 color codes
| HEX | #838CA0 | |
|---|---|---|
| RGB | rgb(131, 140, 160) | |
| RGB percent | rgb(51.4%, 54.9%, 62.7%) | |
| HSL | hsl(221, 13%, 57%) | |
| HSV / HSB | hsv(221, 18%, 63%) | |
| CMYK | cmyk(18%, 12%, 0%, 37%) | |
| CIE LAB | lab(58.15, 1.1, -11.68) | |
| CIE LCH | lch(58.15, 11.74, 275.36) | |
| CIE XYZ | xyz(25.082, 26.119, 36.971) | |
| Decimal | 8621216 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838CA0, 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 #838CA0 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.22:1 | Pass | Fail | Pass |
| Sample text | 3.37:1 | Fail | Fail | Pass |
| #838CA0 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.37:1 | Fail | Fail | Pass |
| Sample text | 6.22: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 #838CA0 looks to people with the most common types of color vision deficiency.
#868da1Protanopia
no red cones#848ba0Deuteranopia
no green cones#7c9092Tritanopia
no blue cones#8c8c8cAchromatopsia
no color vision
CSS examples
.background { background-color: #838ca0; }
.text { color: #838ca0; }
.border { border: 2px solid #838ca0; }
.transparent { background-color: rgb(131 140 160 / 50%); }
.gradient { background: linear-gradient(to right, #838ca0, #8883a0); }
Similar colors
#838996Roman Silver#8d95aaSilverfish#79839bTempest#8c92acCool Gray#7f8793Sea Lion#888899Dusty Chimney#8d99b1Moon Veil#74819aStonewash
Questions
- What color is #838CA0?
- #838CA0 is a grayish blue, closest to the named color Roman Silver. It belongs to the gray family of colors.
- What is the RGB value of #838CA0?
- The RGB value is 131, 140, 160: 131 red, 140 green and 160 blue on a 0 to 255 scale.
- What is the complementary color of #838CA0?
- The complementary color is #A09783, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838CA0?
- Black text. Black text has a contrast ratio of 6.22:1 and white text 3.37:1. WCAG asks for at least 4.5:1 for normal text.