Skip to content

#c2d7f2

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

RGB
194, 215, 242
HSL
214°, 65%, 86%
CMYK
20, 11, 0, 5
Luminance
0.6648

Every format

HEX#c2d7f2
RGBrgb(194, 215, 242)
HSLhsl(214, 65%, 86%)
CMYKcmyk(20%, 11%, 0%, 5%)
LABlab(85.2 -1.4 -15.6)
LCHlch(85.2 15.6 264.8)
OKLCHoklch(0.872 0.044 254.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2d7f2 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#c2d7f2 on black: 14.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green84.3%
Blue94.9%

CMYK percentages

Cyan19.8%
Magenta11.2%
Yellow0.0%
Key (black)5.1%

Color previews

#c2d7f2 text on a black background

contrast 14.30:1

Card sample

#c2d7f2 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2d7f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2d7f2 in the Color Lab