Skip to content

#afbaff

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

RGB
175, 186, 255
HSL
232°, 100%, 84%
CMYK
31, 27, 0, 0
Luminance
0.5145

Every format

HEX#afbaff
RGBrgb(175, 186, 255)
HSLhsl(232, 100%, 84%)
CMYKcmyk(31%, 27%, 0%, 0%)
LABlab(77.0 11.6 -35.3)
LCHlch(77.0 37.1 288.2)
OKLCHoklch(0.805 0.099 277.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbaff on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#afbaff on black: 11.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.9%
Blue100.0%

CMYK percentages

Cyan31.4%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#afbaff text on a black background

contrast 11.29:1

Card sample

#afbaff text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbaff in the Color Lab