Skip to content

#d2f2ff

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

RGB
210, 242, 255
HSL
197°, 100%, 91%
CMYK
18, 5, 0, 0
Luminance
0.8443

Every format

HEX#d2f2ff
RGBrgb(210, 242, 255)
HSLhsl(197, 100%, 91%)
CMYKcmyk(18%, 5%, 0%, 0%)
LABlab(93.6 -7.7 -9.7)
LCHlch(93.6 12.4 231.6)
OKLCHoklch(0.942 0.038 224.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green94.9%
Blue100.0%

CMYK percentages

Cyan17.6%
Magenta5.1%
Yellow0.0%
Key (black)0.0%

Color previews

#d2f2ff text on a black background

contrast 17.89:1

Card sample

#d2f2ff text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f2ff in the Color Lab