Skip to content

#c2d2fe

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

RGB
194, 210, 254
HSL
224°, 97%, 88%
CMYK
24, 17, 0, 0
Luminance
0.6472

Every format

HEX#c2d2fe
RGBrgb(194, 210, 254)
HSLhsl(224, 97%, 88%)
CMYKcmyk(24%, 17%, 0%, 0%)
LABlab(84.3 3.9 -23.3)
LCHlch(84.3 23.6 279.4)
OKLCHoklch(0.866 0.064 269.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2d2fe on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#c2d2fe on black: 13.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green82.4%
Blue99.6%

CMYK percentages

Cyan23.6%
Magenta17.3%
Yellow0.0%
Key (black)0.4%

Color previews

#c2d2fe text on a black background

contrast 13.94:1

Card sample

#c2d2fe text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2d2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2d2fe in the Color Lab