Skip to content

#c0d4f2

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

RGB
192, 212, 242
HSL
216°, 66%, 85%
CMYK
21, 12, 0, 5
Luminance
0.6470

Every format

HEX#c0d4f2
RGBrgb(192, 212, 242)
HSLhsl(216, 66%, 85%)
CMYKcmyk(21%, 12%, 0%, 5%)
LABlab(84.3 -0.5 -16.9)
LCHlch(84.3 16.9 268.5)
OKLCHoklch(0.865 0.047 258.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0d4f2 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#c0d4f2 on black: 13.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green83.1%
Blue94.9%

CMYK percentages

Cyan20.7%
Magenta12.4%
Yellow0.0%
Key (black)5.1%

Color previews

#c0d4f2 text on a black background

contrast 13.94:1

Card sample

#c0d4f2 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0d4f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0d4f2 in the Color Lab