Skip to content

#c2dafd

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

RGB
194, 218, 253
HSL
216°, 94%, 88%
CMYK
23, 14, 0, 1
Luminance
0.6870

Every format

HEX#c2dafd
RGBrgb(194, 218, 253)
HSLhsl(216, 94%, 88%)
CMYKcmyk(23%, 14%, 0%, 1%)
LABlab(86.4 -0.6 -19.7)
LCHlch(86.4 19.7 268.3)
OKLCHoklch(0.882 0.055 257.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2dafd on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#c2dafd on black: 14.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green85.5%
Blue99.2%

CMYK percentages

Cyan23.3%
Magenta13.8%
Yellow0.0%
Key (black)0.8%

Color previews

#c2dafd text on a black background

contrast 14.74:1

Card sample

#c2dafd text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2dafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2dafd in the Color Lab