Skip to content

#ccdaff

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

RGB
204, 218, 255
HSL
224°, 100%, 90%
CMYK
20, 15, 0, 0
Luminance
0.7020

Every format

HEX#ccdaff
RGBrgb(204, 218, 255)
HSLhsl(224, 100%, 90%)
CMYKcmyk(20%, 15%, 0%, 0%)
LABlab(87.1 2.9 -19.6)
LCHlch(87.1 19.8 278.3)
OKLCHoklch(0.890 0.053 268.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdaff on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#ccdaff on black: 15.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green85.5%
Blue100.0%

CMYK percentages

Cyan20.0%
Magenta14.5%
Yellow0.0%
Key (black)0.0%

Color previews

#ccdaff text on a black background

contrast 15.04:1

Card sample

#ccdaff text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdaff in the Color Lab