Skip to content

#c2def4

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

RGB
194, 222, 244
HSL
206°, 69%, 86%
CMYK
21, 9, 0, 4
Luminance
0.7024

Every format

HEX#c2def4
RGBrgb(194, 222, 244)
HSLhsl(206, 69%, 86%)
CMYKcmyk(21%, 9%, 0%, 4%)
LABlab(87.1 -4.6 -13.8)
LCHlch(87.1 14.6 251.4)
OKLCHoklch(0.887 0.043 241.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2def4 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#c2def4 on black: 15.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green87.1%
Blue95.7%

CMYK percentages

Cyan20.5%
Magenta9.0%
Yellow0.0%
Key (black)4.3%

Color previews

#c2def4 text on a black background

contrast 15.05:1

Card sample

#c2def4 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2def4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2def4 in the Color Lab