#817F8A Color Information

Hex color code: #817F8A

A subtle blue shade, #817F8A appears as (129, 127, 138) in RGB and (251°, 4%, 52%) in HSL. It is popular in mobile app design.

Try:
Color NameGray
HEX
#817F8A
RGB
129, 127, 138
HSL
251°, 4%, 52%
CMYK
7%, 8%, 0%, 46%

Shades

CSS Usage
color: #817F8A;
background-color: #817F8A;
border-color: #817F8A;
box-shadow: 0 0 10px #817F8A;
border: 2px solid #817F8A;
Tailwind Usage
bg-[#817F8A]
text-[#817F8A]
border-[#817F8A]
shadow-[0_0_10px_817F8A]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #817F8A, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #817F8A; color: #000000; }

Badge

New Feature
.badge { background-color: #817F8A; 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 #817F8A; background-color: #817F8A15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #817F8A20; border-left: 4px solid #817F8A; }

Link / Accent

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

a { color: #817F8A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #817F8A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

129, 127, 138

Red: 129 / Green: 127 / Blue: 138

HSL

251°, 4%, 52%

Hue: 251° / Saturation: 4% / Lightness: 52%

CMYK

7%, 8%, 0%, 46%

Cyan: 7% / Magenta: 8% / Yellow: 0% / Key: 46%

What color is #817F8A?

#817F8A is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #817F8A to RGB:

rgb(129, 127, 138)HEX to RGB Converter →

HEX to HSL

Convert #817F8A to HSL:

hsl(251, 4%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #817F8A to CMYK:

cmyk(7%, 8%, 0%, 46%)Color Converter →

Color Meaning and Usage

#817F8A is a balanced blue color with RGB values of 129, 127, 138 and HSL of 251°, 4%, 52%. This desaturated neutral evokes balance and subtlety, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #817F8A is #888980, creating high-contrast pairings. For softer combinations, try analogous colors like #808389.

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

Contrast with #817F8A

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

Contrast Ratio: 5.34:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #817F8A?

#817F8A is a balanced blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #817F8A?

#817F8A in RGB is (129, 127, 138) - 129 red, 127 green, and 138 blue.

How to use #817F8A in CSS?

Use #817F8A directly in your CSS properties like color or background-color.

What colors go well with #817F8A?

#888980 (complementary), #808389 (analogous), and #5C5B62 (lighter shade) work well with #817F8A.