#8E97AF Color Information

Hex color code: #8E97AF

A balanced blue shade, #8E97AF appears as (142, 151, 175) in RGB and (224°, 17%, 62%) in HSL. It is often used for branding and logos.

Try:
Color NameLight Slate Gray
HEX
#8E97AF
RGB
142, 151, 175
HSL
224°, 17%, 62%
CMYK
19%, 14%, 0%, 31%

Shades

CSS Usage
color: #8E97AF;
background-color: #8E97AF;
border-color: #8E97AF;
box-shadow: 0 0 10px #8E97AF;
border: 2px solid #8E97AF;
Tailwind Usage
bg-[#8E97AF]
text-[#8E97AF]
border-[#8E97AF]
shadow-[0_0_10px_8E97AF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #8E97AF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #8E97AF; color: #000000; }

Badge

New Feature
.badge { background-color: #8E97AF; 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 #8E97AF; background-color: #8E97AF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #8E97AF20; border-left: 4px solid #8E97AF; }

Link / Accent

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

a { color: #8E97AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8E97AF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

142, 151, 175

Red: 142 / Green: 151 / Blue: 175

HSL

224°, 17%, 62%

Hue: 224° / Saturation: 17% / Lightness: 62%

CMYK

19%, 14%, 0%, 31%

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

What color is #8E97AF?

#8E97AF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8E97AF to RGB:

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

HEX to HSL

Convert #8E97AF to HSL:

hsl(224, 17%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #8E97AF to CMYK:

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

Color Meaning and Usage

A understated blue tone, #8E97AF has RGB (142, 151, 175) and HSL (224°, 17%, 62%). Known for evoking creativity and luxury, this blue-purple hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8E97AF is #AFA68E, creating high-contrast pairings. For softer combinations, try analogous colors like #8EA7AF.

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

Contrast with #8E97AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8E97AF?

#8E97AF is a understated blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #8E97AF?

#8E97AF in RGB is (142, 151, 175) - 142 red, 151 green, and 175 blue.

How to use #8E97AF in CSS?

Use #8E97AF directly in your CSS properties like color or background-color.

What colors go well with #8E97AF?

#AFA68E (complementary), #8EA7AF (analogous), and #636E8C (lighter shade) work well with #8E97AF.