Skip to content

#e4eafb

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

RGB
228, 234, 251
HSL
224°, 74%, 94%
CMYK
9, 7, 0, 2
Luminance
0.8230

Every format

HEX#e4eafb
RGBrgb(228, 234, 251)
HSLhsl(224, 74%, 94%)
CMYKcmyk(9%, 7%, 0%, 2%)
LABlab(92.7 1.2 -8.9)
LCHlch(92.7 9.0 277.6)
OKLCHoklch(0.938 0.024 270.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red89.4%
Green91.8%
Blue98.4%

CMYK percentages

Cyan9.2%
Magenta6.8%
Yellow0.0%
Key (black)1.6%

Color previews

#e4eafb text on a black background

contrast 17.46:1

Card sample

#e4eafb text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4eafb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4eafb in the Color Lab