Skip to content

#ccd8fd

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

RGB
204, 216, 253
HSL
225°, 93%, 90%
CMYK
19, 15, 0, 1
Luminance
0.6904

Every format

HEX#ccd8fd
RGBrgb(204, 216, 253)
HSLhsl(225, 93%, 90%)
CMYKcmyk(19%, 15%, 0%, 1%)
LABlab(86.5 3.5 -19.4)
LCHlch(86.5 19.7 280.2)
OKLCHoklch(0.885 0.053 271.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green84.7%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta14.6%
Yellow0.0%
Key (black)0.8%

Color previews

#ccd8fd text on a black background

contrast 14.81:1

Card sample

#ccd8fd text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccd8fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccd8fd in the Color Lab