Skip to content

#d2dcfe

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

RGB
210, 220, 254
HSL
226°, 96%, 91%
CMYK
17, 13, 0, 0
Luminance
0.7204

Every format

HEX#d2dcfe
RGBrgb(210, 220, 254)
HSLhsl(226, 96%, 91%)
CMYKcmyk(17%, 13%, 0%, 0%)
LABlab(88.0 3.4 -17.6)
LCHlch(88.0 18.0 281.0)
OKLCHoklch(0.898 0.048 272.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2dcfe on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#d2dcfe on black: 15.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green86.3%
Blue99.6%

CMYK percentages

Cyan17.3%
Magenta13.4%
Yellow0.0%
Key (black)0.4%

Color previews

#d2dcfe text on a black background

contrast 15.41:1

Card sample

#d2dcfe text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2dcfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2dcfe in the Color Lab