Skip to content

#afb9f0

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

RGB
175, 185, 240
HSL
231°, 68%, 81%
CMYK
27, 23, 0, 6
Luminance
0.5010

Every format

HEX#afb9f0
RGBrgb(175, 185, 240)
HSLhsl(231, 68%, 81%)
CMYKcmyk(27%, 23%, 0%, 6%)
LABlab(76.1 8.5 -28.4)
LCHlch(76.1 29.7 286.7)
OKLCHoklch(0.797 0.079 276.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb9f0 on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#afb9f0 on black: 11.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.5%
Blue94.1%

CMYK percentages

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

Color previews

#afb9f0 text on a black background

contrast 11.02:1

Card sample

#afb9f0 text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb9f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb9f0 in the Color Lab