Skip to content

#def5ff

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

RGB
222, 245, 255
HSL
198°, 100%, 94%
CMYK
13, 4, 0, 0
Luminance
0.8805

Every format

HEX#def5ff
RGBrgb(222, 245, 255)
HSLhsl(198, 100%, 94%)
CMYKcmyk(13%, 4%, 0%, 0%)
LABlab(95.2 -5.5 -7.3)
LCHlch(95.2 9.2 233.0)
OKLCHoklch(0.956 0.028 225.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green96.1%
Blue100.0%

CMYK percentages

Cyan12.9%
Magenta3.9%
Yellow0.0%
Key (black)0.0%

Color previews

#def5ff text on a black background

contrast 18.61:1

Card sample

#def5ff text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def5ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def5ff in the Color Lab