#838797 color
The hex color #838797 is a grayish blue.
In the RGB color model it is made of 51.4% red, 52.9% green and 59.2% blue (131, 135, 151).
Its hue angle is 228°, with 9% saturation and 55% lightness. For print, the CMYK equivalent is 13% cyan, 11% magenta, 0% yellow and 41% black.
The closest named color is Roman Silver (#838996), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.88:1).
#838797 color codes
| HEX | #838797 | |
|---|---|---|
| RGB | rgb(131, 135, 151) | |
| RGB percent | rgb(51.4%, 52.9%, 59.2%) | |
| HSL | hsl(228, 9%, 55%) | |
| HSV / HSB | hsv(228, 13%, 59%) | |
| CMYK | cmyk(13%, 11%, 0%, 41%) | |
| CIE LAB | lab(56.47, 1.92, -9.03) | |
| CIE LCH | lch(56.47, 9.23, 281.99) | |
| CIE XYZ | xyz(23.609, 24.387, 32.736) | |
| Decimal | 8619927 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838797, 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 #838797 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.88:1 | Pass | Fail | Pass |
| Sample text | 3.57:1 | Fail | Fail | Pass |
| #838797 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.57:1 | Fail | Fail | Pass |
| Sample text | 5.88: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 #838797 looks to people with the most common types of color vision deficiency.
#838898Protanopia
no red cones#818797Deuteranopia
no green cones#7f8a8cTritanopia
no blue cones#878787Achromatopsia
no color vision
CSS examples
.background { background-color: #838797; }
.text { color: #838797; }
.border { border: 2px solid #838797; }
.transparent { background-color: rgb(131 135 151 / 50%); }
.gradient { background: linear-gradient(to right, #838797, #898397); }
Similar colors
#838996Roman Silver#888899Dusty Chimney#848393Mecha Metal#84838eIn the Twilight#7f8793Sea Lion#7e8590Smoky Studio#79839bTempest#787e93Your Shadow
Closest common color name: Cool Gray.
Questions
- What color is #838797?
- #838797 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 #838797?
- The RGB value is 131, 135, 151: 131 red, 135 green and 151 blue on a 0 to 255 scale.
- What is the complementary color of #838797?
- The complementary color is #979383, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838797?
- Black text. Black text has a contrast ratio of 5.88:1 and white text 3.57:1. WCAG asks for at least 4.5:1 for normal text.