Skip to content

#c2dfff

a pale, electric blue · cool · closest name: lavender

RGB
194, 223, 255
HSL
212°, 100%, 88%
CMYK
24, 13, 0, 0
Luminance
0.7146

Every format

HEX#c2dfff
RGBrgb(194, 223, 255)
HSLhsl(212, 100%, 88%)
CMYKcmyk(24%, 13%, 0%, 0%)
LABlab(87.7 -2.7 -18.7)
LCHlch(87.7 18.9 261.7)
OKLCHoklch(0.893 0.054 251.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2dfff on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#c2dfff on black: 15.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green87.5%
Blue100.0%

CMYK percentages

Cyan23.9%
Magenta12.5%
Yellow0.0%
Key (black)0.0%

Color previews

#c2dfff text on a black background

contrast 15.29:1

Card sample

#c2dfff text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 223, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 223, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2dfff;
background: linear-gradient(135deg, #c2dfff, #CEC2FF);

Monochromatic scale

Palettes built from #c2dfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2dfff in the Color Lab