Skip to content

#c0dfff

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

RGB
192, 223, 255
HSL
211°, 100%, 88%
CMYK
25, 13, 0, 0
Luminance
0.7120

Every format

HEX#c0dfff
RGBrgb(192, 223, 255)
HSLhsl(211, 100%, 88%)
CMYKcmyk(25%, 13%, 0%, 0%)
LABlab(87.6 -3.3 -18.9)
LCHlch(87.6 19.2 260.0)
OKLCHoklch(0.891 0.055 249.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0dfff on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#c0dfff on black: 15.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green87.5%
Blue100.0%

CMYK percentages

Cyan24.7%
Magenta12.5%
Yellow0.0%
Key (black)0.0%

Color previews

#c0dfff text on a black background

contrast 15.24:1

Card sample

#c0dfff text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0dfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0dfff in the Color Lab