Skip to content

#d2ecfc

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

RGB
210, 236, 252
HSL
203°, 88%, 91%
CMYK
17, 6, 0, 1
Luminance
0.8072

Every format

HEX#d2ecfc
RGBrgb(210, 236, 252)
HSLhsl(203, 88%, 91%)
CMYKcmyk(17%, 6%, 0%, 1%)
LABlab(92.0 -5.3 -10.6)
LCHlch(92.0 11.8 243.5)
OKLCHoklch(0.929 0.035 234.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green92.5%
Blue98.8%

CMYK percentages

Cyan16.7%
Magenta6.3%
Yellow0.0%
Key (black)1.2%

Color previews

#d2ecfc text on a black background

contrast 17.14:1

Card sample

#d2ecfc text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ecfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ecfc in the Color Lab