Skip to content

#d4ecff

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

RGB
212, 236, 255
HSL
207°, 100%, 92%
CMYK
17, 8, 0, 0
Luminance
0.8121

Every format

HEX#d4ecff
RGBrgb(212, 236, 255)
HSLhsl(207, 100%, 92%)
CMYKcmyk(17%, 8%, 0%, 0%)
LABlab(92.2 -4.0 -11.8)
LCHlch(92.2 12.5 251.1)
OKLCHoklch(0.931 0.036 241.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4ecff on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#d4ecff on black: 17.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green92.5%
Blue100.0%

CMYK percentages

Cyan16.9%
Magenta7.5%
Yellow0.0%
Key (black)0.0%

Color previews

#d4ecff text on a black background

contrast 17.24:1

Card sample

#d4ecff text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4ecff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4ecff in the Color Lab