Skip to content

#d2ecfb

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

RGB
210, 236, 251
HSL
202°, 84%, 90%
CMYK
16, 6, 0, 2
Luminance
0.8066

Every format

HEX#d2ecfb
RGBrgb(210, 236, 251)
HSLhsl(202, 84%, 90%)
CMYKcmyk(16%, 6%, 0%, 2%)
LABlab(92.0 -5.5 -10.1)
LCHlch(92.0 11.5 241.5)
OKLCHoklch(0.929 0.034 233.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan16.3%
Magenta6.0%
Yellow0.0%
Key (black)1.6%

Color previews

#d2ecfb text on a black background

contrast 17.13:1

Card sample

#d2ecfb text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ecfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ecfb in the Color Lab