Skip to content

#afb9dc

a light, soft blue · warm · closest name: lavender

RGB
175, 185, 220
HSL
227°, 39%, 78%
CMYK
21, 16, 0, 14
Luminance
0.4898

Every format

HEX#afb9dc
RGBrgb(175, 185, 220)
HSLhsl(227, 39%, 78%)
CMYKcmyk(21%, 16%, 0%, 14%)
LABlab(75.4 3.9 -18.7)
LCHlch(75.4 19.1 281.8)
OKLCHoklch(0.790 0.051 272.7)

Copy-ready code

/* CSS */
color: #afb9dc;
background-color: #afb9dc;
/* Tailwind (arbitrary) */
class="text-[#afb9dc] bg-[#afb9dc]"
/* SCSS */
$brand: #afb9dc;
/* SwiftUI */
Color(red: 0.686, green: 0.725, blue: 0.863)
/* Android */
Color.parseColor("#afb9dc")

Accessibility — WCAG contrast

Aa
#afb9dc on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#afb9dc on black: 10.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.5%
Blue86.3%

CMYK percentages

Cyan20.5%
Magenta15.9%
Yellow0.0%
Key (black)13.7%

Color previews

#afb9dc text on a black background

contrast 10.80:1

Card sample

#afb9dc text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #afb9dc;
Background color
Panel with #afb9dc background
background-color: #afb9dc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #afb9dc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(175, 185, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 185, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb9dc;
background: linear-gradient(135deg, #afb9dc, #C3AFDC);

Monochromatic scale

Palettes built from #afb9dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb9dc in the Color Lab