Skip to content

#ecedfc

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

RGB
236, 237, 252
HSL
236°, 73%, 96%
CMYK
6, 6, 0, 1
Luminance
0.8543

Every format

HEX#ecedfc
RGBrgb(236, 237, 252)
HSLhsl(236, 73%, 96%)
CMYKcmyk(6%, 6%, 0%, 1%)
LABlab(94.1 2.4 -7.3)
LCHlch(94.1 7.7 288.2)
OKLCHoklch(0.950 0.020 283.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecedfc on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#ecedfc on black: 18.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green92.9%
Blue98.8%

CMYK percentages

Cyan6.3%
Magenta6.0%
Yellow0.0%
Key (black)1.2%

Color previews

#ecedfc text on a black background

contrast 18.09:1

Card sample

#ecedfc text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecedfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecedfc in the Color Lab