Skip to content

#d4f8fc

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

RGB
212, 248, 252
HSL
186°, 87%, 91%
CMYK
16, 2, 0, 1
Luminance
0.8816

Every format

HEX#d4f8fc
RGBrgb(212, 248, 252)
HSLhsl(186, 87%, 91%)
CMYKcmyk(16%, 2%, 0%, 1%)
LABlab(95.2 -10.7 -5.8)
LCHlch(95.2 12.2 208.4)
OKLCHoklch(0.955 0.038 204.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4f8fc on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#d4f8fc on black: 18.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green97.3%
Blue98.8%

CMYK percentages

Cyan15.9%
Magenta1.6%
Yellow0.0%
Key (black)1.2%

Color previews

#d4f8fc text on a black background

contrast 18.63:1

Card sample

#d4f8fc text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4f8fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4f8fc in the Color Lab