Skip to content

#d8ecf2

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

RGB
216, 236, 242
HSL
194°, 50%, 90%
CMYK
11, 3, 0, 5
Luminance
0.8100

Every format

HEX#d8ecf2
RGBrgb(216, 236, 242)
HSLhsl(194, 50%, 90%)
CMYKcmyk(11%, 3%, 0%, 5%)
LABlab(92.1 -5.4 -5.2)
LCHlch(92.1 7.5 223.6)
OKLCHoklch(0.930 0.023 217.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.7%
Green92.5%
Blue94.9%

CMYK percentages

Cyan10.7%
Magenta2.5%
Yellow0.0%
Key (black)5.1%

Color previews

#d8ecf2 text on a black background

contrast 17.20:1

Card sample

#d8ecf2 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d8ecf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d8ecf2 in the Color Lab