Skip to content

#d2e8fd

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

RGB
210, 232, 253
HSL
209°, 92%, 91%
CMYK
17, 8, 0, 1
Luminance
0.7851

Every format

HEX#d2e8fd
RGBrgb(210, 232, 253)
HSLhsl(209, 92%, 91%)
CMYKcmyk(17%, 8%, 0%, 1%)
LABlab(91.0 -3.0 -12.6)
LCHlch(91.0 13.0 256.5)
OKLCHoklch(0.921 0.037 247.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2e8fd on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#d2e8fd on black: 16.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green91.0%
Blue99.2%

CMYK percentages

Cyan17.0%
Magenta8.3%
Yellow0.0%
Key (black)0.8%

Color previews

#d2e8fd text on a black background

contrast 16.70:1

Card sample

#d2e8fd text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2e8fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2e8fd in the Color Lab