Skip to content

#c2d9fd

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

RGB
194, 217, 253
HSL
217°, 94%, 88%
CMYK
23, 14, 0, 1
Luminance
0.6819

Every format

HEX#c2d9fd
RGBrgb(194, 217, 253)
HSLhsl(217, 94%, 88%)
CMYKcmyk(23%, 14%, 0%, 1%)
LABlab(86.1 -0.1 -20.1)
LCHlch(86.1 20.1 269.9)
OKLCHoklch(0.880 0.056 259.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2d9fd on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#c2d9fd on black: 14.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan23.3%
Magenta14.2%
Yellow0.0%
Key (black)0.8%

Color previews

#c2d9fd text on a black background

contrast 14.64:1

Card sample

#c2d9fd text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2d9fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2d9fd in the Color Lab