Skip to content

#c2dcfe

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

RGB
194, 220, 254
HSL
214°, 97%, 88%
CMYK
24, 13, 0, 0
Luminance
0.6981

Every format

HEX#c2dcfe
RGBrgb(194, 220, 254)
HSLhsl(214, 97%, 88%)
CMYKcmyk(24%, 13%, 0%, 0%)
LABlab(86.9 -1.4 -19.4)
LCHlch(86.9 19.4 265.9)
OKLCHoklch(0.886 0.055 255.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2dcfe on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#c2dcfe on black: 14.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green86.3%
Blue99.6%

CMYK percentages

Cyan23.6%
Magenta13.4%
Yellow0.0%
Key (black)0.4%

Color previews

#c2dcfe text on a black background

contrast 14.96:1

Card sample

#c2dcfe text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2dcfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2dcfe in the Color Lab