Skip to content

#eaf2fc

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

RGB
234, 242, 252
HSL
213°, 75%, 95%
CMYK
7, 4, 0, 1
Luminance
0.8802

Every format

HEX#eaf2fc
RGBrgb(234, 242, 252)
HSLhsl(213, 75%, 95%)
CMYKcmyk(7%, 4%, 0%, 1%)
LABlab(95.2 -0.8 -5.7)
LCHlch(95.2 5.8 262.1)
OKLCHoklch(0.958 0.016 253.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red91.8%
Green94.9%
Blue98.8%

CMYK percentages

Cyan7.1%
Magenta4.0%
Yellow0.0%
Key (black)1.2%

Color previews

#eaf2fc text on a black background

contrast 18.60:1

Card sample

#eaf2fc text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eaf2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eaf2fc in the Color Lab