Skip to content

#afb3d2

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

RGB
175, 179, 210
HSL
233°, 28%, 76%
CMYK
17, 15, 0, 18
Luminance
0.4601

Every format

HEX#afb3d2
RGBrgb(175, 179, 210)
HSLhsl(233, 28%, 76%)
CMYKcmyk(17%, 15%, 0%, 18%)
LABlab(73.5 4.9 -16.1)
LCHlch(73.5 16.8 287.1)
OKLCHoklch(0.774 0.044 279.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green70.2%
Blue82.4%

CMYK percentages

Cyan16.7%
Magenta14.8%
Yellow0.0%
Key (black)17.6%

Color previews

#afb3d2 text on a black background

contrast 10.20:1

Card sample

#afb3d2 text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb3d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb3d2 in the Color Lab