Skip to content

#ccdaf0

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

RGB
204, 218, 240
HSL
217°, 55%, 87%
CMYK
15, 9, 0, 6
Luminance
0.6927

Every format

HEX#ccdaf0
RGBrgb(204, 218, 240)
HSLhsl(217, 55%, 87%)
CMYKcmyk(15%, 9%, 0%, 6%)
LABlab(86.6 -0.3 -12.3)
LCHlch(86.6 12.3 268.5)
OKLCHoklch(0.885 0.034 259.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdaf0 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#ccdaf0 on black: 14.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green85.5%
Blue94.1%

CMYK percentages

Cyan15.0%
Magenta9.2%
Yellow0.0%
Key (black)5.9%

Color previews

#ccdaf0 text on a black background

contrast 14.85:1

Card sample

#ccdaf0 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdaf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdaf0 in the Color Lab