Skip to content

#afb2d9

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

RGB
175, 178, 217
HSL
236°, 36%, 77%
CMYK
19, 18, 0, 15
Luminance
0.4596

Every format

HEX#afb2d9
RGBrgb(175, 178, 217)
HSLhsl(236, 36%, 77%)
CMYKcmyk(19%, 18%, 0%, 15%)
LABlab(73.5 7.0 -19.9)
LCHlch(73.5 21.2 289.4)
OKLCHoklch(0.774 0.056 281.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb2d9 on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#afb2d9 on black: 10.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green69.8%
Blue85.1%

CMYK percentages

Cyan19.4%
Magenta18.0%
Yellow0.0%
Key (black)14.9%

Color previews

#afb2d9 text on a black background

contrast 10.19:1

Card sample

#afb2d9 text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb2d9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb2d9 in the Color Lab