Skip to content

#eef2ff

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

RGB
238, 242, 255
HSL
226°, 100%, 97%
CMYK
7, 5, 0, 0
Luminance
0.8890

Every format

HEX#eef2ff
RGBrgb(238, 242, 255)
HSLhsl(226, 100%, 97%)
CMYKcmyk(7%, 5%, 0%, 0%)
LABlab(95.5 1.1 -6.7)
LCHlch(95.5 6.8 279.0)
OKLCHoklch(0.962 0.018 272.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eef2ff on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#eef2ff on black: 18.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.3%
Green94.9%
Blue100.0%

CMYK percentages

Cyan6.7%
Magenta5.1%
Yellow0.0%
Key (black)0.0%

Color previews

#eef2ff text on a black background

contrast 18.78:1

Card sample

#eef2ff text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eef2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eef2ff in the Color Lab