#AFAFCB Color Information

Hex color code: #AFAFCB

A gentle blue shade, #AFAFCB appears as (175, 175, 203) in RGB and (240°, 21%, 74%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameSilver
HEX
#AFAFCB
RGB
175, 175, 203
HSL
240°, 21%, 74%
CMYK
14%, 14%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFAFCB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 175, 203

Red: 175 / Green: 175 / Blue: 203

HSL

240°, 21%, 74%

Hue: 240° / Saturation: 21% / Lightness: 74%

CMYK

14%, 14%, 0%, 20%

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

What color is #AFAFCB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFAFCB to RGB:

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

HEX to HSL

Convert #AFAFCB to HSL:

hsl(240, 21%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #AFAFCB to CMYK:

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

Color Meaning and Usage

#AFAFCB is a soft blue color with RGB values of 175, 175, 203 and HSL of 240°, 21%, 74%. 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 #AFAFCB is #CBCBAF, creating high-contrast pairings. For softer combinations, try analogous colors like #AFBDCB.

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

Contrast with #AFAFCB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFAFCB?

#AFAFCB is a soft blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AFAFCB?

#AFAFCB in RGB is (175, 175, 203) - 175 red, 175 green, and 203 blue.

How to use #AFAFCB in CSS?

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

What colors go well with #AFAFCB?

#CBCBAF (complementary), #AFBDCB (analogous), and #8080AC (lighter shade) work well with #AFAFCB.