Skip to content

#ccd1ff

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

RGB
204, 209, 255
HSL
234°, 100%, 90%
CMYK
20, 18, 0, 0
Luminance
0.6566

Every format

HEX#ccd1ff
RGBrgb(204, 209, 255)
HSLhsl(234, 100%, 90%)
CMYKcmyk(20%, 18%, 0%, 0%)
LABlab(84.8 7.6 -23.0)
LCHlch(84.8 24.2 288.3)
OKLCHoklch(0.872 0.064 280.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccd1ff on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#ccd1ff on black: 14.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green82.0%
Blue100.0%

CMYK percentages

Cyan20.0%
Magenta18.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ccd1ff text on a black background

contrast 14.13:1

Card sample

#ccd1ff text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccd1ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccd1ff in the Color Lab