Skip to content

#e2f2ff

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

RGB
226, 242, 255
HSL
207°, 100%, 94%
CMYK
11, 5, 0, 0
Luminance
0.8689

Every format

HEX#e2f2ff
RGBrgb(226, 242, 255)
HSLhsl(207, 100%, 94%)
CMYKcmyk(11%, 5%, 0%, 0%)
LABlab(94.7 -2.8 -8.0)
LCHlch(94.7 8.5 251.1)
OKLCHoklch(0.953 0.024 242.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green94.9%
Blue100.0%

CMYK percentages

Cyan11.4%
Magenta5.1%
Yellow0.0%
Key (black)0.0%

Color previews

#e2f2ff text on a black background

contrast 18.38:1

Card sample

#e2f2ff text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2f2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2f2ff in the Color Lab