Skip to content

#ccd2fe

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

RGB
204, 210, 254
HSL
233°, 96%, 90%
CMYK
20, 17, 0, 0
Luminance
0.6609

Every format

HEX#ccd2fe
RGBrgb(204, 210, 254)
HSLhsl(233, 96%, 90%)
CMYKcmyk(20%, 17%, 0%, 0%)
LABlab(85.0 6.9 -22.1)
LCHlch(85.0 23.2 287.2)
OKLCHoklch(0.874 0.061 279.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green82.4%
Blue99.6%

CMYK percentages

Cyan19.7%
Magenta17.3%
Yellow0.0%
Key (black)0.4%

Color previews

#ccd2fe text on a black background

contrast 14.22:1

Card sample

#ccd2fe text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccd2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccd2fe in the Color Lab