Skip to content

#afb5db

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

RGB
175, 181, 219
HSL
232°, 38%, 77%
CMYK
20, 17, 0, 14
Luminance
0.4728

Every format

HEX#afb5db
RGBrgb(175, 181, 219)
HSLhsl(232, 38%, 77%)
CMYKcmyk(20%, 17%, 0%, 14%)
LABlab(74.4 5.8 -19.8)
LCHlch(74.4 20.6 286.5)
OKLCHoklch(0.781 0.054 278.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb5db on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#afb5db on black: 10.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green71.0%
Blue85.9%

CMYK percentages

Cyan20.1%
Magenta17.4%
Yellow0.0%
Key (black)14.1%

Color previews

#afb5db text on a black background

contrast 10.46:1

Card sample

#afb5db text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb5db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb5db in the Color Lab