Skip to content

#d2ecf7

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

RGB
210, 236, 247
HSL
198°, 70%, 90%
CMYK
15, 5, 0, 3
Luminance
0.8041

Every format

HEX#d2ecf7
RGBrgb(210, 236, 247)
HSLhsl(198, 70%, 90%)
CMYKcmyk(15%, 5%, 0%, 3%)
LABlab(91.9 -6.3 -8.2)
LCHlch(91.9 10.3 232.4)
OKLCHoklch(0.927 0.031 225.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ecf7 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#d2ecf7 on black: 17.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green92.5%
Blue96.9%

CMYK percentages

Cyan15.0%
Magenta4.5%
Yellow0.0%
Key (black)3.1%

Color previews

#d2ecf7 text on a black background

contrast 17.08:1

Card sample

#d2ecf7 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ecf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ecf7 in the Color Lab