Skip to content

#d2eafb

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

RGB
210, 234, 251
HSL
205°, 84%, 90%
CMYK
16, 7, 0, 2
Luminance
0.7951

Every format

HEX#d2eafb
RGBrgb(210, 234, 251)
HSLhsl(205, 84%, 90%)
CMYKcmyk(16%, 7%, 0%, 2%)
LABlab(91.5 -4.5 -10.9)
LCHlch(91.5 11.8 247.7)
OKLCHoklch(0.925 0.034 238.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2eafb on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#d2eafb on black: 16.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green91.8%
Blue98.4%

CMYK percentages

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

Color previews

#d2eafb text on a black background

contrast 16.90:1

Card sample

#d2eafb text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2eafb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2eafb in the Color Lab