Skip to content

#ccd4f2

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

RGB
204, 212, 242
HSL
227°, 59%, 88%
CMYK
16, 12, 0, 5
Luminance
0.6634

Every format

HEX#ccd4f2
RGBrgb(204, 212, 242)
HSLhsl(227, 59%, 88%)
CMYKcmyk(16%, 12%, 0%, 5%)
LABlab(85.2 3.3 -15.6)
LCHlch(85.2 15.9 281.8)
OKLCHoklch(0.873 0.042 273.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccd4f2 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#ccd4f2 on black: 14.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green83.1%
Blue94.9%

CMYK percentages

Cyan15.7%
Magenta12.4%
Yellow0.0%
Key (black)5.1%

Color previews

#ccd4f2 text on a black background

contrast 14.27:1

Card sample

#ccd4f2 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccd4f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccd4f2 in the Color Lab