Skip to content

#cfdef1

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

RGB
207, 222, 241
HSL
214°, 55%, 88%
CMYK
14, 8, 0, 6
Luminance
0.7186

Every format

HEX#cfdef1
RGBrgb(207, 222, 241)
HSLhsl(214, 55%, 88%)
CMYKcmyk(14%, 8%, 0%, 6%)
LABlab(87.9 -1.3 -11.0)
LCHlch(87.9 11.0 263.5)
OKLCHoklch(0.895 0.031 254.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdef1 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#cfdef1 on black: 15.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green87.1%
Blue94.5%

CMYK percentages

Cyan14.1%
Magenta7.9%
Yellow0.0%
Key (black)5.5%

Color previews

#cfdef1 text on a black background

contrast 15.37:1

Card sample

#cfdef1 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdef1 in the Color Lab