Skip to content

#ccd8f2

a pale, vivid blue · cool · closest name: lavender

RGB
204, 216, 242
HSL
221°, 59%, 88%
CMYK
16, 11, 0, 5
Luminance
0.6836

Every format

HEX#ccd8f2
RGBrgb(204, 216, 242)
HSLhsl(221, 59%, 88%)
CMYKcmyk(16%, 11%, 0%, 5%)
LABlab(86.2 1.1 -14.1)
LCHlch(86.2 14.1 274.6)
OKLCHoklch(0.881 0.038 265.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccd8f2 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#ccd8f2 on black: 14.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green84.7%
Blue94.9%

CMYK percentages

Cyan15.7%
Magenta10.7%
Yellow0.0%
Key (black)5.1%

Color previews

#ccd8f2 text on a black background

contrast 14.67:1

Card sample

#ccd8f2 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccd8f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccd8f2 in the Color Lab