#9797AC color
The hex color #9797AC is a light, grayish blue.
In the RGB color model it is made of 59.2% red, 59.2% green and 67.5% blue (151, 151, 172).
Its hue angle is 240°, with 11% saturation and 63% lightness. For print, the CMYK equivalent is 12% cyan, 12% magenta, 0% yellow and 33% black.
The closest named color is Machinery (#9999AA), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.34:1).
#9797AC color codes
| HEX | #9797AC | |
|---|---|---|
| RGB | rgb(151, 151, 172) | |
| RGB percent | rgb(59.2%, 59.2%, 67.5%) | |
| HSL | hsl(240, 11%, 63%) | |
| HSV / HSB | hsv(240, 12%, 67%) | |
| CMYK | cmyk(12%, 12%, 0%, 33%) | |
| CIE LAB | lab(63.09, 4.29, -10.94) | |
| CIE LCH | lch(63.09, 11.75, 291.44) | |
| CIE XYZ | xyz(31.274, 31.691, 43.491) | |
| Decimal | 9934764 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9797AC, 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 #9797AC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.34:1 | Pass | Pass | Pass |
| Sample text | 2.86:1 | Fail | Fail | Fail |
| #9797AC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.86:1 | Fail | Fail | Fail |
| Sample text | 7.34: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 #9797AC looks to people with the most common types of color vision deficiency.
#9299adProtanopia
no red cones#9298abDeuteranopia
no green cones#939a9eTritanopia
no blue cones#999999Achromatopsia
no color vision
CSS examples
.background { background-color: #9797ac; }
.text { color: #9797ac; }
.border { border: 2px solid #9797ac; }
.transparent { background-color: rgb(151 151 172 / 50%); }
.gradient { background: linear-gradient(to right, #9797ac, #a297ac); }
Similar colors
#9999aaMachinery#9998a7Lavender Ash#9596a4Too Big to Whale#8c92acCool Gray#8d95aaSilverfish#979ba8Dusky Mood#9698a3Dark Ages#8d99b1Moon Veil
Questions
- What color is #9797AC?
- #9797AC is a light, grayish blue, closest to the named color Machinery. It belongs to the gray family of colors.
- What is the RGB value of #9797AC?
- The RGB value is 151, 151, 172: 151 red, 151 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #9797AC?
- The complementary color is #ACAC97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9797AC?
- Black text. Black text has a contrast ratio of 7.34:1 and white text 2.86:1. WCAG asks for at least 4.5:1 for normal text.