#AFB5F2 Color Information

Hex color code: #AFB5F2

#AFB5F2 is a light blue color. In RGB it is (175, 181, 242), and in HSL it is (235°, 72%, 82%). It is commonly used in modern UI design.

Try:
Color NameLight Steel Blue
HEX
#AFB5F2
RGB
175, 181, 242
HSL
235°, 72%, 82%
CMYK
28%, 25%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFB5F2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 181, 242

Red: 175 / Green: 181 / Blue: 242

HSL

235°, 72%, 82%

Hue: 235° / Saturation: 72% / Lightness: 82%

CMYK

28%, 25%, 0%, 5%

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

What color is #AFB5F2?

#AFB5F2 is a very light tint associated with purity and simplicity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFB5F2 to RGB:

rgb(175, 181, 242)HEX to RGB Converter →

HEX to HSL

Convert #AFB5F2 to HSL:

hsl(235, 72%, 82%)RGB to HSL Converter →

HEX to CMYK

Convert #AFB5F2 to CMYK:

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

Color Meaning and Usage

#AFB5F2 is a light blue color with RGB values of 175, 181, 242 and HSL of 235°, 72%, 82%. This very light tint evokes purity and simplicity, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFB5F2 is #F2EDB0, creating high-contrast pairings. For softer combinations, try analogous colors like #B0D7F2.

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

Contrast with #AFB5F2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFB5F2?

#AFB5F2 is a light blue color - a very light tint that evokes purity and simplicity.

What is the RGB value of #AFB5F2?

#AFB5F2 in RGB is (175, 181, 242) - 175 red, 181 green, and 242 blue.

How to use #AFB5F2 in CSS?

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

What colors go well with #AFB5F2?

#F2EDB0 (complementary), #B0D7F2 (analogous), and #6E78E7 (lighter shade) work well with #AFB5F2.