Skip to content

#ececf1

a pale, soft blue · warm · closest name: white

RGB
236, 236, 241
HSL
240°, 15%, 94%
CMYK
2, 2, 0, 6
Luminance
0.8417

Every format

HEX#ececf1
RGBrgb(236, 236, 241)
HSLhsl(240, 15%, 94%)
CMYKcmyk(2%, 2%, 0%, 6%)
LABlab(93.5 0.9 -2.4)
LCHlch(93.5 2.6 290.5)
OKLCHoklch(0.945 0.007 286.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ececf1 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#ececf1 on black: 17.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green92.5%
Blue94.5%

CMYK percentages

Cyan2.1%
Magenta2.1%
Yellow0.0%
Key (black)5.5%

Color previews

#ececf1 text on a black background

contrast 17.83:1

Card sample

#ececf1 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ececf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ececf1 in the Color Lab