Skip to content

#c0d5ff

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

RGB
192, 213, 255
HSL
220°, 100%, 88%
CMYK
25, 17, 0, 0
Luminance
0.6601

Every format

HEX#c0d5ff
RGBrgb(192, 213, 255)
HSLhsl(220, 100%, 88%)
CMYKcmyk(25%, 17%, 0%, 0%)
LABlab(85.0 1.9 -22.8)
LCHlch(85.0 22.9 274.8)
OKLCHoklch(0.871 0.063 264.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0d5ff on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#c0d5ff on black: 14.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green83.5%
Blue100.0%

CMYK percentages

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

Color previews

#c0d5ff text on a black background

contrast 14.20:1

Card sample

#c0d5ff text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0d5ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0d5ff in the Color Lab