Skip to content

#ececf0

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

RGB
236, 236, 240
HSL
240°, 12%, 93%
CMYK
2, 2, 0, 6
Luminance
0.8412

Every format

HEX#ececf0
RGBrgb(236, 236, 240)
HSLhsl(240, 12%, 93%)
CMYKcmyk(2%, 2%, 0%, 6%)
LABlab(93.5 0.7 -1.9)
LCHlch(93.5 2.1 290.5)
OKLCHoklch(0.944 0.005 286.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan1.7%
Magenta1.7%
Yellow0.0%
Key (black)5.9%

Color previews

#ececf0 text on a black background

contrast 17.82:1

Card sample

#ececf0 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ececf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ececf0 in the Color Lab