Skip to content

#c2dcfc

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

RGB
194, 220, 252
HSL
213°, 91%, 88%
CMYK
23, 13, 0, 1
Luminance
0.6968

Every format

HEX#c2dcfc
RGBrgb(194, 220, 252)
HSLhsl(213, 91%, 88%)
CMYKcmyk(23%, 13%, 0%, 1%)
LABlab(86.8 -1.8 -18.4)
LCHlch(86.8 18.5 264.3)
OKLCHoklch(0.886 0.052 253.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2dcfc on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#c2dcfc on black: 14.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green86.3%
Blue98.8%

CMYK percentages

Cyan23.0%
Magenta12.7%
Yellow0.0%
Key (black)1.2%

Color previews

#c2dcfc text on a black background

contrast 14.94:1

Card sample

#c2dcfc text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2dcfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2dcfc in the Color Lab