Skip to content

#afb9db

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

RGB
175, 185, 219
HSL
226°, 38%, 77%
CMYK
20, 16, 0, 14
Luminance
0.4893

Every format

HEX#afb9db
RGBrgb(175, 185, 219)
HSLhsl(226, 38%, 77%)
CMYKcmyk(20%, 16%, 0%, 14%)
LABlab(75.4 3.7 -18.2)
LCHlch(75.4 18.6 281.4)
OKLCHoklch(0.789 0.050 272.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green72.5%
Blue85.9%

CMYK percentages

Cyan20.1%
Magenta15.5%
Yellow0.0%
Key (black)14.1%

Color previews

#afb9db text on a black background

contrast 10.79:1

Card sample

#afb9db text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb9db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb9db in the Color Lab