Skip to content

#edf2fc

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

RGB
237, 242, 252
HSL
220°, 71%, 96%
CMYK
6, 4, 0, 1
Luminance
0.8854

Every format

HEX#edf2fc
RGBrgb(237, 242, 252)
HSLhsl(220, 71%, 96%)
CMYKcmyk(6%, 4%, 0%, 1%)
LABlab(95.4 0.2 -5.4)
LCHlch(95.4 5.4 271.9)
OKLCHoklch(0.960 0.014 264.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.9%
Green94.9%
Blue98.8%

CMYK percentages

Cyan6.0%
Magenta4.0%
Yellow0.0%
Key (black)1.2%

Color previews

#edf2fc text on a black background

contrast 18.71:1

Card sample

#edf2fc text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #edf2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #edf2fc in the Color Lab