Skip to content

#cdd2f2

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

RGB
205, 210, 242
HSL
232°, 59%, 88%
CMYK
15, 13, 0, 5
Luminance
0.6548

Every format

HEX#cdd2f2
RGBrgb(205, 210, 242)
HSLhsl(232, 59%, 88%)
CMYKcmyk(15%, 13%, 0%, 5%)
LABlab(84.7 4.6 -16.3)
LCHlch(84.7 16.9 285.9)
OKLCHoklch(0.870 0.044 278.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdd2f2 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#cdd2f2 on black: 14.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green82.4%
Blue94.9%

CMYK percentages

Cyan15.3%
Magenta13.2%
Yellow0.0%
Key (black)5.1%

Color previews

#cdd2f2 text on a black background

contrast 14.10:1

Card sample

#cdd2f2 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdd2f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdd2f2 in the Color Lab