Skip to content

#ccdfff

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

RGB
204, 223, 255
HSL
218°, 100%, 90%
CMYK
20, 13, 0, 0
Luminance
0.7283

Every format

HEX#ccdfff
RGBrgb(204, 223, 255)
HSLhsl(218, 100%, 90%)
CMYKcmyk(20%, 13%, 0%, 0%)
LABlab(88.4 0.2 -17.6)
LCHlch(88.4 17.6 270.8)
OKLCHoklch(0.900 0.049 260.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdfff on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#ccdfff on black: 15.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green87.5%
Blue100.0%

CMYK percentages

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

Color previews

#ccdfff text on a black background

contrast 15.57:1

Card sample

#ccdfff text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdfff in the Color Lab