Skip to content

#e4ecf5

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

RGB
228, 236, 245
HSL
212°, 46%, 93%
CMYK
7, 4, 0, 4
Luminance
0.8308

Every format

HEX#e4ecf5
RGBrgb(228, 236, 245)
HSLhsl(212, 46%, 93%)
CMYKcmyk(7%, 4%, 0%, 4%)
LABlab(93.0 -1.0 -5.3)
LCHlch(93.0 5.3 259.4)
OKLCHoklch(0.940 0.015 251.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red89.4%
Green92.5%
Blue96.1%

CMYK percentages

Cyan6.9%
Magenta3.7%
Yellow0.0%
Key (black)3.9%

Color previews

#e4ecf5 text on a black background

contrast 17.62:1

Card sample

#e4ecf5 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4ecf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4ecf5 in the Color Lab