Skip to content

#d2f0fe

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

RGB
210, 240, 254
HSL
199°, 96%, 91%
CMYK
17, 6, 0, 0
Luminance
0.8318

Every format

HEX#d2f0fe
RGBrgb(210, 240, 254)
HSLhsl(199, 96%, 91%)
CMYKcmyk(17%, 6%, 0%, 0%)
LABlab(93.1 -6.9 -10.0)
LCHlch(93.1 12.2 235.4)
OKLCHoklch(0.938 0.037 227.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f0fe on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#d2f0fe on black: 17.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green94.1%
Blue99.6%

CMYK percentages

Cyan17.3%
Magenta5.5%
Yellow0.0%
Key (black)0.4%

Color previews

#d2f0fe text on a black background

contrast 17.64:1

Card sample

#d2f0fe text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f0fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f0fe in the Color Lab