Skip to content

#eaf2ff

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

RGB
234, 242, 255
HSL
217°, 100%, 96%
CMYK
8, 5, 0, 0
Luminance
0.8822

Every format

HEX#eaf2ff
RGBrgb(234, 242, 255)
HSLhsl(217, 100%, 96%)
CMYKcmyk(8%, 5%, 0%, 0%)
LABlab(95.3 -0.2 -7.2)
LCHlch(95.3 7.2 268.2)
OKLCHoklch(0.959 0.019 260.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eaf2ff on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#eaf2ff on black: 18.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green94.9%
Blue100.0%

CMYK percentages

Cyan8.2%
Magenta5.1%
Yellow0.0%
Key (black)0.0%

Color previews

#eaf2ff text on a black background

contrast 18.64:1

Card sample

#eaf2ff text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eaf2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eaf2ff in the Color Lab