Skip to content

#d8f2f6

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

RGB
216, 242, 246
HSL
188°, 63%, 91%
CMYK
12, 2, 0, 4
Luminance
0.8476

Every format

HEX#d8f2f6
RGBrgb(216, 242, 246)
HSLhsl(188, 63%, 91%)
CMYKcmyk(12%, 2%, 0%, 4%)
LABlab(93.8 -7.7 -4.8)
LCHlch(93.8 9.1 212.0)
OKLCHoklch(0.943 0.028 207.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.7%
Green94.9%
Blue96.5%

CMYK percentages

Cyan12.2%
Magenta1.6%
Yellow0.0%
Key (black)3.5%

Color previews

#d8f2f6 text on a black background

contrast 17.95:1

Card sample

#d8f2f6 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(216, 242, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(216, 242, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d8f2f6;
background: linear-gradient(135deg, #d8f2f6, #D8DEF6);

Monochromatic scale

Palettes built from #d8f2f6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d8f2f6 in the Color Lab