Skip to content

#cdd1f2

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

RGB
205, 209, 242
HSL
234°, 59%, 88%
CMYK
15, 14, 0, 5
Luminance
0.6499

Every format

HEX#cdd1f2
RGBrgb(205, 209, 242)
HSLhsl(234, 59%, 88%)
CMYKcmyk(15%, 14%, 0%, 5%)
LABlab(84.5 5.2 -16.6)
LCHlch(84.5 17.4 287.2)
OKLCHoklch(0.868 0.046 279.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdd1f2 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#cdd1f2 on black: 14.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#cdd1f2 text on a black background

contrast 14.00:1

Card sample

#cdd1f2 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdd1f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdd1f2 in the Color Lab