Skip to content

#c7dfff

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

RGB
199, 223, 255
HSL
214°, 100%, 89%
CMYK
22, 13, 0, 0
Luminance
0.7214

Every format

HEX#c7dfff
RGBrgb(199, 223, 255)
HSLhsl(214, 100%, 89%)
CMYKcmyk(22%, 13%, 0%, 0%)
LABlab(88.0 -1.3 -18.2)
LCHlch(88.0 18.2 266.0)
OKLCHoklch(0.896 0.051 255.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c7dfff on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#c7dfff on black: 15.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.0%
Green87.5%
Blue100.0%

CMYK percentages

Cyan22.0%
Magenta12.5%
Yellow0.0%
Key (black)0.0%

Color previews

#c7dfff text on a black background

contrast 15.43:1

Card sample

#c7dfff text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c7dfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7dfff in the Color Lab