Skip to content

#afc4f3

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

RGB
175, 196, 243
HSL
222°, 74%, 82%
CMYK
28, 19, 0, 5
Luminance
0.5506

Every format

HEX#afc4f3
RGBrgb(175, 196, 243)
HSLhsl(222, 74%, 82%)
CMYKcmyk(28%, 19%, 0%, 5%)
LABlab(79.1 3.3 -25.6)
LCHlch(79.1 25.8 277.2)
OKLCHoklch(0.821 0.070 266.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afc4f3 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#afc4f3 on black: 12.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green76.9%
Blue95.3%

CMYK percentages

Cyan28.0%
Magenta19.3%
Yellow0.0%
Key (black)4.7%

Color previews

#afc4f3 text on a black background

contrast 12.01:1

Card sample

#afc4f3 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afc4f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afc4f3 in the Color Lab