#AFAFB8 Color Information

Hex color code: #AFAFB8

A neutral blue shade, #AFAFB8 appears as (175, 175, 184) in RGB and (240°, 6%, 70%) in HSL. It is commonly used in modern UI design.

Try:
Color NameSilver
HEX
#AFAFB8
RGB
175, 175, 184
HSL
240°, 6%, 70%
CMYK
5%, 5%, 0%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #AFAFB8; 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 #AFAFB8; background-color: #AFAFB815; }

Alert / Toast

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

Link / Accent

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

a { color: #AFAFB8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #AFAFB8 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 175, 184

Red: 175 / Green: 175 / Blue: 184

HSL

240°, 6%, 70%

Hue: 240° / Saturation: 6% / Lightness: 70%

CMYK

5%, 5%, 0%, 28%

Cyan: 5% / Magenta: 5% / Yellow: 0% / Key: 28%

What color is #AFAFB8?

#AFAFB8 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFAFB8 to RGB:

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

HEX to HSL

Convert #AFAFB8 to HSL:

hsl(240, 6%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #AFAFB8 to CMYK:

cmyk(5%, 5%, 0%, 28%)Color Converter →

Color Meaning and Usage

A subtle blue tone, #AFAFB8 has RGB (175, 175, 184) and HSL (240°, 6%, 70%). Known for evoking balance and subtlety, this desaturated neutral is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFAFB8 is #B7B7AE, creating high-contrast pairings. For softer combinations, try analogous colors like #AEB3B7.

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

Contrast with #AFAFB8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFAFB8?

#AFAFB8 is a subtle blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #AFAFB8?

#AFAFB8 in RGB is (175, 175, 184) - 175 red, 175 green, and 184 blue.

How to use #AFAFB8 in CSS?

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

What colors go well with #AFAFB8?

#B7B7AE (complementary), #AEB3B7 (analogous), and #858593 (lighter shade) work well with #AFAFB8.