Skip to content

#ccecfe

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

RGB
204, 236, 254
HSL
202°, 96%, 90%
CMYK
20, 7, 0, 0
Luminance
0.7998

Every format

HEX#ccecfe
RGBrgb(204, 236, 254)
HSLhsl(202, 96%, 90%)
CMYKcmyk(20%, 7%, 0%, 0%)
LABlab(91.7 -6.7 -12.2)
LCHlch(91.7 13.9 241.2)
OKLCHoklch(0.926 0.042 232.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccecfe on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#ccecfe on black: 17.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green92.5%
Blue99.6%

CMYK percentages

Cyan19.7%
Magenta7.1%
Yellow0.0%
Key (black)0.4%

Color previews

#ccecfe text on a black background

contrast 17.00:1

Card sample

#ccecfe text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccecfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccecfe in the Color Lab