Skip to content

#c4dfff

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

RGB
196, 223, 255
HSL
213°, 100%, 88%
CMYK
23, 13, 0, 0
Luminance
0.7173

Every format

HEX#c4dfff
RGBrgb(196, 223, 255)
HSLhsl(213, 100%, 88%)
CMYKcmyk(23%, 13%, 0%, 0%)
LABlab(87.8 -2.1 -18.5)
LCHlch(87.8 18.6 263.4)
OKLCHoklch(0.894 0.053 252.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c4dfff on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#c4dfff on black: 15.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green87.5%
Blue100.0%

CMYK percentages

Cyan23.1%
Magenta12.5%
Yellow0.0%
Key (black)0.0%

Color previews

#c4dfff text on a black background

contrast 15.35:1

Card sample

#c4dfff text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c4dfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4dfff in the Color Lab