Skip to content

#c2d8f2

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

RGB
194, 216, 242
HSL
213°, 65%, 86%
CMYK
20, 11, 0, 5
Luminance
0.6699

Every format

HEX#c2d8f2
RGBrgb(194, 216, 242)
HSLhsl(213, 65%, 86%)
CMYKcmyk(20%, 11%, 0%, 5%)
LABlab(85.5 -1.9 -15.2)
LCHlch(85.5 15.3 262.7)
OKLCHoklch(0.874 0.043 252.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2d8f2 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#c2d8f2 on black: 14.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green84.7%
Blue94.9%

CMYK percentages

Cyan19.8%
Magenta10.7%
Yellow0.0%
Key (black)5.1%

Color previews

#c2d8f2 text on a black background

contrast 14.40:1

Card sample

#c2d8f2 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2d8f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2d8f2 in the Color Lab