#8A98AF Color Information

Hex color code: #8A98AF

The hex color #8A98AF is a neutral blue with RGB values of (138, 152, 175) and HSL of (217°, 19%, 61%). It is frequently seen in web interfaces.

Try:
Color NameLight Slate Gray
HEX
#8A98AF
RGB
138, 152, 175
HSL
217°, 19%, 61%
CMYK
21%, 13%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #8A98AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

138, 152, 175

Red: 138 / Green: 152 / Blue: 175

HSL

217°, 19%, 61%

Hue: 217° / Saturation: 19% / Lightness: 61%

CMYK

21%, 13%, 0%, 31%

Cyan: 21% / Magenta: 13% / Yellow: 0% / Key: 31%

What color is #8A98AF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8A98AF to RGB:

rgb(138, 152, 175)HEX to RGB Converter →

HEX to HSL

Convert #8A98AF to HSL:

hsl(217, 19%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #8A98AF to CMYK:

cmyk(21%, 13%, 0%, 31%)Color Converter →

Color Meaning and Usage

#8A98AF is a neutral blue color with RGB values of 138, 152, 175 and HSL of 217°, 19%, 61%. This blue-purple hue evokes creativity and luxury, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8A98AF is #AEA089, creating high-contrast pairings. For softer combinations, try analogous colors like #89AAAE.

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

Contrast with #8A98AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8A98AF?

#8A98AF is a neutral blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #8A98AF?

#8A98AF in RGB is (138, 152, 175) - 138 red, 152 green, and 175 blue.

How to use #8A98AF in CSS?

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

What colors go well with #8A98AF?

#AEA089 (complementary), #89AAAE (analogous), and #5F708C (lighter shade) work well with #8A98AF.