Skip to content

#ececf2

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

RGB
236, 236, 242
HSL
240°, 19%, 94%
CMYK
3, 3, 0, 5
Luminance
0.8423

Every format

HEX#ececf2
RGBrgb(236, 236, 242)
HSLhsl(240, 19%, 94%)
CMYKcmyk(3%, 3%, 0%, 5%)
LABlab(93.5 1.1 -2.9)
LCHlch(93.5 3.1 290.4)
OKLCHoklch(0.945 0.008 286.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan2.5%
Magenta2.5%
Yellow0.0%
Key (black)5.1%

Color previews

#ececf2 text on a black background

contrast 17.85:1

Card sample

#ececf2 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ececf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ececf2 in the Color Lab