Skip to content

#c0d9fd

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

RGB
192, 217, 253
HSL
215°, 94%, 87%
CMYK
24, 14, 0, 1
Luminance
0.6792

Every format

HEX#c0d9fd
RGBrgb(192, 217, 253)
HSLhsl(215, 94%, 87%)
CMYKcmyk(24%, 14%, 0%, 1%)
LABlab(86.0 -0.6 -20.3)
LCHlch(86.0 20.3 268.2)
OKLCHoklch(0.879 0.057 257.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0d9fd on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#c0d9fd on black: 14.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green85.1%
Blue99.2%

CMYK percentages

Cyan24.1%
Magenta14.2%
Yellow0.0%
Key (black)0.8%

Color previews

#c0d9fd text on a black background

contrast 14.58:1

Card sample

#c0d9fd text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0d9fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0d9fd in the Color Lab