Skip to content

#cddef2

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

RGB
205, 222, 242
HSL
212°, 59%, 88%
CMYK
15, 8, 0, 5
Luminance
0.7163

Every format

HEX#cddef2
RGBrgb(205, 222, 242)
HSLhsl(212, 59%, 88%)
CMYKcmyk(15%, 8%, 0%, 5%)
LABlab(87.8 -1.7 -11.7)
LCHlch(87.8 11.8 261.8)
OKLCHoklch(0.894 0.033 252.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green87.1%
Blue94.9%

CMYK percentages

Cyan15.3%
Magenta8.3%
Yellow0.0%
Key (black)5.1%

Color previews

#cddef2 text on a black background

contrast 15.33:1

Card sample

#cddef2 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddef2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddef2 in the Color Lab