Skip to content

#e2ecf8

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

RGB
226, 236, 248
HSL
213°, 61%, 93%
CMYK
9, 5, 0, 3
Luminance
0.8294

Every format

HEX#e2ecf8
RGBrgb(226, 236, 248)
HSLhsl(213, 61%, 93%)
CMYKcmyk(9%, 5%, 0%, 3%)
LABlab(93.0 -1.1 -6.9)
LCHlch(93.0 7.0 261.4)
OKLCHoklch(0.939 0.019 252.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2ecf8 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#e2ecf8 on black: 17.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green92.5%
Blue97.3%

CMYK percentages

Cyan8.9%
Magenta4.8%
Yellow0.0%
Key (black)2.7%

Color previews

#e2ecf8 text on a black background

contrast 17.59:1

Card sample

#e2ecf8 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2ecf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2ecf8 in the Color Lab