Skip to content

#d2f8fc

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

RGB
210, 248, 252
HSL
186°, 88%, 91%
CMYK
17, 2, 0, 1
Luminance
0.8786

Every format

HEX#d2f8fc
RGBrgb(210, 248, 252)
HSLhsl(186, 88%, 91%)
CMYKcmyk(17%, 2%, 0%, 1%)
LABlab(95.1 -11.3 -6.0)
LCHlch(95.1 12.8 207.9)
OKLCHoklch(0.954 0.040 204.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green97.3%
Blue98.8%

CMYK percentages

Cyan16.7%
Magenta1.6%
Yellow0.0%
Key (black)1.2%

Color previews

#d2f8fc text on a black background

contrast 18.57:1

Card sample

#d2f8fc text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f8fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f8fc in the Color Lab