Skip to content

#afbcf8

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

RGB
175, 188, 248
HSL
229°, 84%, 83%
CMYK
29, 24, 0, 3
Luminance
0.5186

Every format

HEX#afbcf8
RGBrgb(175, 188, 248)
HSLhsl(229, 84%, 83%)
CMYKcmyk(29%, 24%, 0%, 3%)
LABlab(77.2 8.8 -31.1)
LCHlch(77.2 32.3 285.8)
OKLCHoklch(0.807 0.086 274.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbcf8 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#afbcf8 on black: 11.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green73.7%
Blue97.3%

CMYK percentages

Cyan29.4%
Magenta24.2%
Yellow0.0%
Key (black)2.7%

Color previews

#afbcf8 text on a black background

contrast 11.37:1

Card sample

#afbcf8 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbcf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbcf8 in the Color Lab