Skip to content

#c2dcfa

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

RGB
194, 220, 250
HSL
212°, 85%, 87%
CMYK
22, 12, 0, 2
Luminance
0.6956

Every format

HEX#c2dcfa
RGBrgb(194, 220, 250)
HSLhsl(212, 85%, 87%)
CMYKcmyk(22%, 12%, 0%, 2%)
LABlab(86.8 -2.3 -17.5)
LCHlch(86.8 17.6 262.5)
OKLCHoklch(0.885 0.050 252.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green86.3%
Blue98.0%

CMYK percentages

Cyan22.4%
Magenta12.0%
Yellow0.0%
Key (black)2.0%

Color previews

#c2dcfa text on a black background

contrast 14.91:1

Card sample

#c2dcfa text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2dcfa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2dcfa in the Color Lab