Skip to content

#ccd2fd

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

RGB
204, 210, 253
HSL
233°, 93%, 90%
CMYK
19, 17, 0, 1
Luminance
0.6602

Every format

HEX#ccd2fd
RGBrgb(204, 210, 253)
HSLhsl(233, 93%, 90%)
CMYKcmyk(19%, 17%, 0%, 1%)
LABlab(85.0 6.7 -21.7)
LCHlch(85.0 22.7 287.1)
OKLCHoklch(0.873 0.060 278.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccd2fd on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#ccd2fd on black: 14.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green82.4%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta17.0%
Yellow0.0%
Key (black)0.8%

Color previews

#ccd2fd text on a black background

contrast 14.20:1

Card sample

#ccd2fd text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccd2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccd2fd in the Color Lab