#979BA2 color
The hex color #979BA2 is a gray.
In the RGB color model it is made of 59.2% red, 60.8% green and 63.5% blue (151, 155, 162).
Its hue angle is 218°, with 6% saturation and 61% lightness. For print, the CMYK equivalent is 7% cyan, 4% magenta, 0% yellow and 36% black.
The closest named color is Grisaille (#91979F), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.53:1).
#979BA2 color codes
| HEX | #979BA2 | |
|---|---|---|
| RGB | rgb(151, 155, 162) | |
| RGB percent | rgb(59.2%, 60.8%, 63.5%) | |
| HSL | hsl(218, 6%, 61%) | |
| HSV / HSB | hsv(218, 7%, 64%) | |
| CMYK | cmyk(7%, 4%, 0%, 36%) | |
| CIE LAB | lab(63.86, -0.04, -4.15) | |
| CIE LCH | lch(63.86, 4.15, 269.48) | |
| CIE XYZ | xyz(31.004, 32.63, 38.84) | |
| Decimal | 9935778 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #979BA2, 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 #979BA2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.53:1 | Pass | Pass | Pass |
| Sample text | 2.79:1 | Fail | Fail | Fail |
| #979BA2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.79:1 | Fail | Fail | Fail |
| Sample text | 7.53:1 | Pass | Pass | 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 #979BA2 looks to people with the most common types of color vision deficiency.
#999ba2Protanopia
no red cones#989aa2Deuteranopia
no green cones#959c9dTritanopia
no blue cones#9b9b9bAchromatopsia
no color vision
CSS examples
.background { background-color: #979ba2; }
.text { color: #979ba2; }
.border { border: 2px solid #979ba2; }
.transparent { background-color: rgb(151 155 162 / 50%); }
.gradient { background: linear-gradient(to right, #979ba2, #9997a2); }
Similar colors
#91979fGrisaille#9698a3Dark Ages#979ba8Dusky Mood#90979bSteely Gray#979ea1Happy Cement#999b9bWalrus#999999Million Gray#8f9394Gray Area
Closest common color name: Pewter.
Questions
- What color is #979BA2?
- #979BA2 is a gray, closest to the named color Grisaille. It belongs to the gray family of colors.
- What is the RGB value of #979BA2?
- The RGB value is 151, 155, 162: 151 red, 155 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #979BA2?
- The complementary color is #A29E97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #979BA2?
- Black text. Black text has a contrast ratio of 7.53:1 and white text 2.79:1. WCAG asks for at least 4.5:1 for normal text.