Skip to content

#ececfb

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

RGB
236, 236, 251
HSL
240°, 65%, 96%
CMYK
6, 6, 0, 2
Luminance
0.8479

Every format

HEX#ececfb
RGBrgb(236, 236, 251)
HSLhsl(240, 65%, 96%)
CMYKcmyk(6%, 6%, 0%, 2%)
LABlab(93.8 2.7 -7.2)
LCHlch(93.8 7.7 290.8)
OKLCHoklch(0.948 0.020 286.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green92.5%
Blue98.4%

CMYK percentages

Cyan6.0%
Magenta6.0%
Yellow0.0%
Key (black)1.6%

Color previews

#ececfb text on a black background

contrast 17.96:1

Card sample

#ececfb text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ececfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ececfb in the Color Lab