Skip to content

#ecfcfc

a pale, vivid cyan · cool · closest name: white

RGB
236, 252, 252
HSL
180°, 73%, 96%
CMYK
6, 0, 0, 1
Luminance
0.9448

Every format

HEX#ecfcfc
RGBrgb(236, 252, 252)
HSLhsl(180, 73%, 96%)
CMYKcmyk(6%, 0%, 0%, 1%)
LABlab(97.8 -5.2 -1.8)
LCHlch(97.8 5.5 199.1)
OKLCHoklch(0.979 0.017 196.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecfcfc on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#ecfcfc on black: 19.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green98.8%
Blue98.8%

CMYK percentages

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

Color previews

#ecfcfc text on a black background

contrast 19.90:1

Card sample

#ecfcfc text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfcfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfcfc in the Color Lab