Skip to content

#c0cdf2

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

RGB
192, 205, 242
HSL
224°, 66%, 85%
CMYK
21, 15, 0, 5
Luminance
0.6128

Every format

HEX#c0cdf2
RGBrgb(192, 205, 242)
HSLhsl(224, 66%, 85%)
CMYKcmyk(21%, 15%, 0%, 5%)
LABlab(82.5 3.3 -19.7)
LCHlch(82.5 19.9 279.4)
OKLCHoklch(0.851 0.054 270.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0cdf2 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#c0cdf2 on black: 13.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green80.4%
Blue94.9%

CMYK percentages

Cyan20.7%
Magenta15.3%
Yellow0.0%
Key (black)5.1%

Color previews

#c0cdf2 text on a black background

contrast 13.26:1

Card sample

#c0cdf2 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0cdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0cdf2 in the Color Lab