Skip to content

#e2ecf4

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

RGB
226, 236, 244
HSL
207°, 45%, 92%
CMYK
7, 3, 0, 4
Luminance
0.8269

Every format

HEX#e2ecf4
RGBrgb(226, 236, 244)
HSLhsl(207, 45%, 92%)
CMYKcmyk(7%, 3%, 0%, 4%)
LABlab(92.9 -1.8 -5.0)
LCHlch(92.9 5.3 250.0)
OKLCHoklch(0.938 0.015 241.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2ecf4 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#e2ecf4 on black: 17.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green92.5%
Blue95.7%

CMYK percentages

Cyan7.4%
Magenta3.3%
Yellow0.0%
Key (black)4.3%

Color previews

#e2ecf4 text on a black background

contrast 17.54:1

Card sample

#e2ecf4 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2ecf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2ecf4 in the Color Lab