Skip to content

#c2cdf1

a pale, vivid blue · warm · closest name: lavender

RGB
194, 205, 241
HSL
226°, 63%, 85%
CMYK
20, 15, 0, 6
Luminance
0.6148

Every format

HEX#c2cdf1
RGBrgb(194, 205, 241)
HSLhsl(226, 63%, 85%)
CMYKcmyk(20%, 15%, 0%, 6%)
LABlab(82.6 3.6 -18.9)
LCHlch(82.6 19.3 280.9)
OKLCHoklch(0.852 0.052 271.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2cdf1 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#c2cdf1 on black: 13.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green80.4%
Blue94.5%

CMYK percentages

Cyan19.5%
Magenta14.9%
Yellow0.0%
Key (black)5.5%

Color previews

#c2cdf1 text on a black background

contrast 13.30:1

Card sample

#c2cdf1 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2cdf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cdf1 in the Color Lab