Skip to content

#d8ecfd

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

RGB
216, 236, 253
HSL
208°, 90%, 92%
CMYK
15, 7, 0, 1
Luminance
0.8168

Every format

HEX#d8ecfd
RGBrgb(216, 236, 253)
HSLhsl(208, 90%, 92%)
CMYKcmyk(15%, 7%, 0%, 1%)
LABlab(92.4 -3.2 -10.4)
LCHlch(92.4 10.9 252.8)
OKLCHoklch(0.933 0.031 243.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.7%
Green92.5%
Blue99.2%

CMYK percentages

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

Color previews

#d8ecfd text on a black background

contrast 17.34:1

Card sample

#d8ecfd text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d8ecfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d8ecfd in the Color Lab