Skip to content

#c2def7

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

RGB
194, 222, 247
HSL
208°, 77%, 87%
CMYK
22, 10, 0, 3
Luminance
0.7043

Every format

HEX#c2def7
RGBrgb(194, 222, 247)
HSLhsl(208, 77%, 87%)
CMYKcmyk(22%, 10%, 0%, 3%)
LABlab(87.2 -4.0 -15.3)
LCHlch(87.2 15.8 255.3)
OKLCHoklch(0.888 0.046 245.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2def7 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#c2def7 on black: 15.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green87.1%
Blue96.9%

CMYK percentages

Cyan21.5%
Magenta10.1%
Yellow0.0%
Key (black)3.1%

Color previews

#c2def7 text on a black background

contrast 15.09:1

Card sample

#c2def7 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2def7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2def7 in the Color Lab