Skip to content

#cfdef2

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

RGB
207, 222, 242
HSL
214°, 57%, 88%
CMYK
15, 8, 0, 5
Luminance
0.7192

Every format

HEX#cfdef2
RGBrgb(207, 222, 242)
HSLhsl(214, 57%, 88%)
CMYKcmyk(15%, 8%, 0%, 5%)
LABlab(87.9 -1.1 -11.4)
LCHlch(87.9 11.5 264.8)
OKLCHoklch(0.895 0.032 255.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green87.1%
Blue94.9%

CMYK percentages

Cyan14.5%
Magenta8.3%
Yellow0.0%
Key (black)5.1%

Color previews

#cfdef2 text on a black background

contrast 15.38:1

Card sample

#cfdef2 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdef2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdef2 in the Color Lab