#9797AF Color Information

Hex color code: #9797AF

#9797AF is a balanced blue color. In RGB it is (151, 151, 175), and in HSL it is (240°, 13%, 64%). It is frequently seen in web interfaces.

Try:
Color NameLight Slate Gray
HEX
#9797AF
RGB
151, 151, 175
HSL
240°, 13%, 64%
CMYK
14%, 14%, 0%, 31%

Shades

CSS Usage
color: #9797AF;
background-color: #9797AF;
border-color: #9797AF;
box-shadow: 0 0 10px #9797AF;
border: 2px solid #9797AF;
Tailwind Usage
bg-[#9797AF]
text-[#9797AF]
border-[#9797AF]
shadow-[0_0_10px_9797AF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9797AF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9797AF; color: #000000; }

Badge

New Feature
.badge { background-color: #9797AF; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #9797AF; background-color: #9797AF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9797AF20; border-left: 4px solid #9797AF; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #9797AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9797AF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

151, 151, 175

Red: 151 / Green: 151 / Blue: 175

HSL

240°, 13%, 64%

Hue: 240° / Saturation: 13% / Lightness: 64%

CMYK

14%, 14%, 0%, 31%

Cyan: 14% / Magenta: 14% / Yellow: 0% / Key: 31%

What color is #9797AF?

#9797AF is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9797AF to RGB:

rgb(151, 151, 175)HEX to RGB Converter →

HEX to HSL

Convert #9797AF to HSL:

hsl(240, 13%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #9797AF to CMYK:

cmyk(14%, 14%, 0%, 31%)Color Converter →

Color Meaning and Usage

#9797AF is a balanced blue color with RGB values of 151, 151, 175 and HSL of 240°, 13%, 64%. This desaturated neutral evokes balance and subtlety, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9797AF is #AFAF97, creating high-contrast pairings. For softer combinations, try analogous colors like #97A3AF.

Use #9797AF in CSS: color: #9797AF or background-color: #9797AF. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #9797AF

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 7.36:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9797AF?

#9797AF is a balanced blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #9797AF?

#9797AF in RGB is (151, 151, 175) - 151 red, 151 green, and 175 blue.

How to use #9797AF in CSS?

Use #9797AF directly in your CSS properties like color or background-color.

What colors go well with #9797AF?

#AFAF97 (complementary), #97A3AF (analogous), and #6D6D8D (lighter shade) work well with #9797AF.