Skip to content

#e4f2ff

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

RGB
228, 242, 255
HSL
209°, 100%, 95%
CMYK
11, 5, 0, 0
Luminance
0.8722

Every format

HEX#e4f2ff
RGBrgb(228, 242, 255)
HSLhsl(209, 100%, 95%)
CMYKcmyk(11%, 5%, 0%, 0%)
LABlab(94.8 -2.1 -7.8)
LCHlch(94.8 8.1 254.8)
OKLCHoklch(0.955 0.023 246.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4f2ff on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#e4f2ff on black: 18.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green94.9%
Blue100.0%

CMYK percentages

Cyan10.6%
Magenta5.1%
Yellow0.0%
Key (black)0.0%

Color previews

#e4f2ff text on a black background

contrast 18.44:1

Card sample

#e4f2ff text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4f2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4f2ff in the Color Lab