Skip to content

#daf2ff

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

RGB
218, 242, 255
HSL
201°, 100%, 93%
CMYK
15, 5, 0, 0
Luminance
0.8563

Every format

HEX#daf2ff
RGBrgb(218, 242, 255)
HSLhsl(201, 100%, 93%)
CMYKcmyk(15%, 5%, 0%, 0%)
LABlab(94.2 -5.3 -8.9)
LCHlch(94.2 10.3 239.4)
OKLCHoklch(0.948 0.031 231.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daf2ff on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#daf2ff on black: 18.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green94.9%
Blue100.0%

CMYK percentages

Cyan14.5%
Magenta5.1%
Yellow0.0%
Key (black)0.0%

Color previews

#daf2ff text on a black background

contrast 18.13:1

Card sample

#daf2ff text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #daf2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daf2ff in the Color Lab