Skip to content

#c2cdef

a light, vivid blue · warm · closest name: lavender

RGB
194, 205, 239
HSL
225°, 58%, 85%
CMYK
19, 14, 0, 6
Luminance
0.6136

Every format

HEX#c2cdef
RGBrgb(194, 205, 239)
HSLhsl(225, 58%, 85%)
CMYKcmyk(19%, 14%, 0%, 6%)
LABlab(82.6 3.2 -18.0)
LCHlch(82.6 18.3 280.1)
OKLCHoklch(0.851 0.049 271.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green80.4%
Blue93.7%

CMYK percentages

Cyan18.8%
Magenta14.2%
Yellow0.0%
Key (black)6.3%

Color previews

#c2cdef text on a black background

contrast 13.27:1

Card sample

#c2cdef text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2cdef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cdef in the Color Lab