#9797AC color

#9797AC rgb(151, 151, 172)
Shades of gray

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
RGBrgb(151, 151, 172)
RGB percentrgb(59.2%, 59.2%, 67.5%)
HSLhsl(240, 11%, 63%)
HSV / HSBhsv(240, 12%, 67%)
CMYKcmyk(12%, 12%, 0%, 33%)
CIE LABlab(63.09, 4.29, -10.94)
CIE LCHlch(63.09, 11.75, 291.44)
CIE XYZxyz(31.274, 31.691, 43.491)
Decimal9934764
Short hexNone (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 #9797ACRatioAAAAAAA large
Sample text7.34:1PassPassPass
Sample text2.86:1FailFailFail
#9797AC as text onRatioAAAAAAA large
Sample text2.86:1FailFailFail
Sample text7.34:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.