Skip to content

#ccd5ff

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

RGB
204, 213, 255
HSL
229°, 100%, 90%
CMYK
20, 17, 0, 0
Luminance
0.6765

Every format

HEX#ccd5ff
RGBrgb(204, 213, 255)
HSLhsl(229, 100%, 90%)
CMYKcmyk(20%, 17%, 0%, 0%)
LABlab(85.8 5.5 -21.5)
LCHlch(85.8 22.2 284.4)
OKLCHoklch(0.880 0.059 275.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccd5ff on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#ccd5ff on black: 14.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green83.5%
Blue100.0%

CMYK percentages

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

Color previews

#ccd5ff text on a black background

contrast 14.53:1

Card sample

#ccd5ff text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccd5ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccd5ff in the Color Lab