Skip to content

#e2f2fc

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

RGB
226, 242, 252
HSL
203°, 81%, 94%
CMYK
10, 4, 0, 1
Luminance
0.8670

Every format

HEX#e2f2fc
RGBrgb(226, 242, 252)
HSLhsl(203, 81%, 94%)
CMYKcmyk(10%, 4%, 0%, 1%)
LABlab(94.6 -3.4 -6.6)
LCHlch(94.6 7.4 243.1)
OKLCHoklch(0.952 0.022 235.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2f2fc on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#e2f2fc on black: 18.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green94.9%
Blue98.8%

CMYK percentages

Cyan10.3%
Magenta4.0%
Yellow0.0%
Key (black)1.2%

Color previews

#e2f2fc text on a black background

contrast 18.34:1

Card sample

#e2f2fc text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2f2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2f2fc in the Color Lab