Skip to content

#e4eaf2

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

RGB
228, 234, 242
HSL
214°, 35%, 92%
CMYK
6, 3, 0, 5
Luminance
0.8175

Every format

HEX#e4eaf2
RGBrgb(228, 234, 242)
HSLhsl(214, 35%, 92%)
CMYKcmyk(6%, 3%, 0%, 5%)
LABlab(92.5 -0.5 -4.6)
LCHlch(92.5 4.6 263.5)
OKLCHoklch(0.935 0.013 255.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4eaf2 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#e4eaf2 on black: 17.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green91.8%
Blue94.9%

CMYK percentages

Cyan5.8%
Magenta3.3%
Yellow0.0%
Key (black)5.1%

Color previews

#e4eaf2 text on a black background

contrast 17.35:1

Card sample

#e4eaf2 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4eaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4eaf2 in the Color Lab