Skip to content

#edf2ff

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

RGB
237, 242, 255
HSL
223°, 100%, 97%
CMYK
7, 5, 0, 0
Luminance
0.8873

Every format

HEX#edf2ff
RGBrgb(237, 242, 255)
HSLhsl(223, 100%, 97%)
CMYKcmyk(7%, 5%, 0%, 0%)
LABlab(95.5 0.7 -6.8)
LCHlch(95.5 6.8 276.2)
OKLCHoklch(0.961 0.018 269.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.9%
Green94.9%
Blue100.0%

CMYK percentages

Cyan7.1%
Magenta5.1%
Yellow0.0%
Key (black)0.0%

Color previews

#edf2ff text on a black background

contrast 18.75:1

Card sample

#edf2ff text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #edf2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #edf2ff in the Color Lab