Skip to content

#afbaf0

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

RGB
175, 186, 240
HSL
230°, 68%, 81%
CMYK
27, 23, 0, 6
Luminance
0.5052

Every format

HEX#afbaf0
RGBrgb(175, 186, 240)
HSLhsl(230, 68%, 81%)
CMYKcmyk(27%, 23%, 0%, 6%)
LABlab(76.4 8.0 -28.1)
LCHlch(76.4 29.2 285.9)
OKLCHoklch(0.799 0.078 275.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbaf0 on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#afbaf0 on black: 11.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.9%
Blue94.1%

CMYK percentages

Cyan27.1%
Magenta22.5%
Yellow0.0%
Key (black)5.9%

Color previews

#afbaf0 text on a black background

contrast 11.10:1

Card sample

#afbaf0 text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbaf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbaf0 in the Color Lab