Skip to content

#d2ecff

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

RGB
210, 236, 255
HSL
205°, 100%, 91%
CMYK
18, 8, 0, 0
Luminance
0.8091

Every format

HEX#d2ecff
RGBrgb(210, 236, 255)
HSLhsl(205, 100%, 91%)
CMYKcmyk(18%, 8%, 0%, 0%)
LABlab(92.1 -4.7 -12.0)
LCHlch(92.1 12.9 248.8)
OKLCHoklch(0.930 0.038 239.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green92.5%
Blue100.0%

CMYK percentages

Cyan17.6%
Magenta7.5%
Yellow0.0%
Key (black)0.0%

Color previews

#d2ecff text on a black background

contrast 17.18:1

Card sample

#d2ecff text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ecff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ecff in the Color Lab