Skip to content

#d9ecf5

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

RGB
217, 236, 245
HSL
199°, 58%, 91%
CMYK
11, 4, 0, 4
Luminance
0.8134

Every format

HEX#d9ecf5
RGBrgb(217, 236, 245)
HSLhsl(199, 58%, 91%)
CMYKcmyk(11%, 4%, 0%, 4%)
LABlab(92.3 -4.5 -6.5)
LCHlch(92.3 7.9 235.2)
OKLCHoklch(0.932 0.024 227.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.1%
Green92.5%
Blue96.1%

CMYK percentages

Cyan11.4%
Magenta3.7%
Yellow0.0%
Key (black)3.9%

Color previews

#d9ecf5 text on a black background

contrast 17.27:1

Card sample

#d9ecf5 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9ecf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9ecf5 in the Color Lab