Skip to content

#e2ecf2

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

RGB
226, 236, 242
HSL
203°, 38%, 92%
CMYK
7, 3, 0, 5
Luminance
0.8257

Every format

HEX#e2ecf2
RGBrgb(226, 236, 242)
HSLhsl(203, 38%, 92%)
CMYKcmyk(7%, 3%, 0%, 5%)
LABlab(92.8 -2.2 -4.0)
LCHlch(92.8 4.6 241.5)
OKLCHoklch(0.937 0.013 233.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green92.5%
Blue94.9%

CMYK percentages

Cyan6.6%
Magenta2.5%
Yellow0.0%
Key (black)5.1%

Color previews

#e2ecf2 text on a black background

contrast 17.51:1

Card sample

#e2ecf2 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2ecf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2ecf2 in the Color Lab