Skip to content

#d9ecfd

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

RGB
217, 236, 253
HSL
208°, 90%, 92%
CMYK
14, 7, 0, 1
Luminance
0.8183

Every format

HEX#d9ecfd
RGBrgb(217, 236, 253)
HSLhsl(208, 90%, 92%)
CMYKcmyk(14%, 7%, 0%, 1%)
LABlab(92.5 -2.9 -10.3)
LCHlch(92.5 10.7 254.3)
OKLCHoklch(0.934 0.031 245.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9ecfd on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#d9ecfd on black: 17.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green92.5%
Blue99.2%

CMYK percentages

Cyan14.2%
Magenta6.7%
Yellow0.0%
Key (black)0.8%

Color previews

#d9ecfd text on a black background

contrast 17.37:1

Card sample

#d9ecfd text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9ecfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9ecfd in the Color Lab