Skip to content

#eef2fc

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

RGB
238, 242, 252
HSL
223°, 70%, 96%
CMYK
6, 4, 0, 1
Luminance
0.8871

Every format

HEX#eef2fc
RGBrgb(238, 242, 252)
HSLhsl(223, 70%, 96%)
CMYKcmyk(6%, 4%, 0%, 1%)
LABlab(95.5 0.5 -5.3)
LCHlch(95.5 5.3 275.4)
OKLCHoklch(0.961 0.014 268.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red93.3%
Green94.9%
Blue98.8%

CMYK percentages

Cyan5.6%
Magenta4.0%
Yellow0.0%
Key (black)1.2%

Color previews

#eef2fc text on a black background

contrast 18.74:1

Card sample

#eef2fc text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eef2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eef2fc in the Color Lab