Skip to content

#c0d3fd

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

RGB
192, 211, 253
HSL
221°, 94%, 87%
CMYK
24, 17, 0, 1
Luminance
0.6489

Every format

HEX#c0d3fd
RGBrgb(192, 211, 253)
HSLhsl(221, 94%, 87%)
CMYKcmyk(24%, 17%, 0%, 1%)
LABlab(84.4 2.5 -22.6)
LCHlch(84.4 22.8 276.4)
OKLCHoklch(0.867 0.062 266.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0d3fd on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#c0d3fd on black: 13.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green82.7%
Blue99.2%

CMYK percentages

Cyan24.1%
Magenta16.6%
Yellow0.0%
Key (black)0.8%

Color previews

#c0d3fd text on a black background

contrast 13.98:1

Card sample

#c0d3fd text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0d3fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0d3fd in the Color Lab