Skip to content

#afb2ef

a light, vivid blue · warm · closest name: plum

RGB
175, 178, 239
HSL
237°, 67%, 81%
CMYK
27, 26, 0, 6
Luminance
0.4719

Every format

HEX#afb2ef
RGBrgb(175, 178, 239)
HSLhsl(237, 67%, 81%)
CMYKcmyk(27%, 26%, 0%, 6%)
LABlab(74.3 12.1 -30.7)
LCHlch(74.3 33.0 291.6)
OKLCHoklch(0.783 0.087 282.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green69.8%
Blue93.7%

CMYK percentages

Cyan26.8%
Magenta25.5%
Yellow0.0%
Key (black)6.3%

Color previews

#afb2ef text on a black background

contrast 10.44:1

Card sample

#afb2ef text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb2ef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb2ef in the Color Lab