Skip to content

#afbefc

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

RGB
175, 190, 252
HSL
228°, 93%, 84%
CMYK
31, 25, 0, 1
Luminance
0.5297

Every format

HEX#afbefc
RGBrgb(175, 190, 252)
HSLhsl(228, 93%, 84%)
CMYKcmyk(31%, 25%, 0%, 1%)
LABlab(77.9 8.7 -32.2)
LCHlch(77.9 33.4 285.1)
OKLCHoklch(0.812 0.089 273.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbefc on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#afbefc on black: 11.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green74.5%
Blue98.8%

CMYK percentages

Cyan30.6%
Magenta24.6%
Yellow0.0%
Key (black)1.2%

Color previews

#afbefc text on a black background

contrast 11.59:1

Card sample

#afbefc text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbefc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbefc in the Color Lab