Skip to content

#ececf9

a pale, vivid blue · warm · closest name: lavender

RGB
236, 236, 249
HSL
240°, 52%, 95%
CMYK
5, 5, 0, 2
Luminance
0.8466

Every format

HEX#ececf9
RGBrgb(236, 236, 249)
HSLhsl(240, 52%, 95%)
CMYKcmyk(5%, 5%, 0%, 2%)
LABlab(93.7 2.4 -6.3)
LCHlch(93.7 6.7 290.7)
OKLCHoklch(0.947 0.017 286.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ececf9 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#ececf9 on black: 17.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green92.5%
Blue97.6%

CMYK percentages

Cyan5.2%
Magenta5.2%
Yellow0.0%
Key (black)2.4%

Color previews

#ececf9 text on a black background

contrast 17.93:1

Card sample

#ececf9 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ececf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ececf9 in the Color Lab