Skip to content

#afbfef

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

RGB
175, 191, 239
HSL
225°, 67%, 81%
CMYK
27, 20, 0, 6
Luminance
0.5261

Every format

HEX#afbfef
RGBrgb(175, 191, 239)
HSLhsl(225, 67%, 81%)
CMYKcmyk(27%, 20%, 0%, 6%)
LABlab(77.6 5.0 -25.6)
LCHlch(77.6 26.1 281.1)
OKLCHoklch(0.809 0.070 270.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbfef on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#afbfef on black: 11.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green74.9%
Blue93.7%

CMYK percentages

Cyan26.8%
Magenta20.1%
Yellow0.0%
Key (black)6.3%

Color previews

#afbfef text on a black background

contrast 11.52:1

Card sample

#afbfef text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbfef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbfef in the Color Lab