Skip to content

#ccd2fc

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

RGB
204, 210, 252
HSL
233°, 89%, 89%
CMYK
19, 17, 0, 1
Luminance
0.6596

Every format

HEX#ccd2fc
RGBrgb(204, 210, 252)
HSLhsl(233, 89%, 89%)
CMYKcmyk(19%, 17%, 0%, 1%)
LABlab(85.0 6.4 -21.2)
LCHlch(85.0 22.1 286.9)
OKLCHoklch(0.873 0.058 278.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green82.4%
Blue98.8%

CMYK percentages

Cyan19.0%
Magenta16.7%
Yellow0.0%
Key (black)1.2%

Color previews

#ccd2fc text on a black background

contrast 14.19:1

Card sample

#ccd2fc text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccd2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccd2fc in the Color Lab