Skip to content

#cdd9f2

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

RGB
205, 217, 242
HSL
221°, 59%, 88%
CMYK
15, 10, 0, 5
Luminance
0.6902

Every format

HEX#cdd9f2
RGBrgb(205, 217, 242)
HSLhsl(221, 59%, 88%)
CMYKcmyk(15%, 10%, 0%, 5%)
LABlab(86.5 0.9 -13.6)
LCHlch(86.5 13.6 273.9)
OKLCHoklch(0.884 0.037 265.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdd9f2 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#cdd9f2 on black: 14.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green85.1%
Blue94.9%

CMYK percentages

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

Color previews

#cdd9f2 text on a black background

contrast 14.80:1

Card sample

#cdd9f2 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdd9f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdd9f2 in the Color Lab