Skip to content

#c0cdf7

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

RGB
192, 205, 247
HSL
226°, 78%, 86%
CMYK
22, 17, 0, 3
Luminance
0.6158

Every format

HEX#c0cdf7
RGBrgb(192, 205, 247)
HSLhsl(226, 78%, 86%)
CMYKcmyk(22%, 17%, 0%, 3%)
LABlab(82.7 4.4 -22.1)
LCHlch(82.7 22.5 281.2)
OKLCHoklch(0.852 0.060 271.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red75.3%
Green80.4%
Blue96.9%

CMYK percentages

Cyan22.3%
Magenta17.0%
Yellow0.0%
Key (black)3.1%

Color previews

#c0cdf7 text on a black background

contrast 13.32:1

Card sample

#c0cdf7 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0cdf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0cdf7 in the Color Lab