Skip to content

#d4ecfd

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

RGB
212, 236, 253
HSL
205°, 91%, 91%
CMYK
16, 7, 0, 1
Luminance
0.8108

Every format

HEX#d4ecfd
RGBrgb(212, 236, 253)
HSLhsl(205, 91%, 91%)
CMYKcmyk(16%, 7%, 0%, 1%)
LABlab(92.2 -4.5 -10.9)
LCHlch(92.2 11.7 247.7)
OKLCHoklch(0.931 0.034 238.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green92.5%
Blue99.2%

CMYK percentages

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

Color previews

#d4ecfd text on a black background

contrast 17.22:1

Card sample

#d4ecfd text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4ecfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4ecfd in the Color Lab