Skip to content

#ecfdf8

a pale, electric cyan · cool · closest name: white

RGB
236, 253, 248
HSL
162°, 81%, 96%
CMYK
7, 0, 2, 1
Luminance
0.9486

Every format

HEX#ecfdf8
RGBrgb(236, 253, 248)
HSLhsl(162, 81%, 96%)
CMYKcmyk(7%, 0%, 2%, 1%)
LABlab(98.0 -6.5 0.5)
LCHlch(98.0 6.5 175.7)
OKLCHoklch(0.980 0.019 176.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecfdf8 on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#ecfdf8 on black: 19.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green99.2%
Blue97.3%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow2.0%
Key (black)0.8%

Color previews

#ecfdf8 text on a black background

contrast 19.97:1

Card sample

#ecfdf8 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 253, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 253, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecfdf8;
background: linear-gradient(135deg, #ecfdf8, #ECF7FD);

Monochromatic scale

Palettes built from #ecfdf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfdf8 in the Color Lab