Skip to content

#ccd2f8

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

RGB
204, 210, 248
HSL
232°, 76%, 89%
CMYK
18, 15, 0, 3
Luminance
0.6571

Every format

HEX#ccd2f8
RGBrgb(204, 210, 248)
HSLhsl(232, 76%, 89%)
CMYKcmyk(18%, 15%, 0%, 3%)
LABlab(84.8 5.6 -19.3)
LCHlch(84.8 20.1 286.2)
OKLCHoklch(0.871 0.053 278.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green82.4%
Blue97.3%

CMYK percentages

Cyan17.7%
Magenta15.3%
Yellow0.0%
Key (black)2.7%

Color previews

#ccd2f8 text on a black background

contrast 14.14:1

Card sample

#ccd2f8 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccd2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccd2f8 in the Color Lab