Skip to content

#c5ccf2

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

RGB
197, 204, 242
HSL
231°, 63%, 86%
CMYK
19, 16, 0, 5
Luminance
0.6147

Every format

HEX#c5ccf2
RGBrgb(197, 204, 242)
HSLhsl(231, 63%, 86%)
CMYKcmyk(19%, 16%, 0%, 5%)
LABlab(82.6 5.3 -19.5)
LCHlch(82.6 20.2 285.3)
OKLCHoklch(0.852 0.053 277.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red77.3%
Green80.0%
Blue94.9%

CMYK percentages

Cyan18.6%
Magenta15.7%
Yellow0.0%
Key (black)5.1%

Color previews

#c5ccf2 text on a black background

contrast 13.29:1

Card sample

#c5ccf2 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c5ccf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c5ccf2 in the Color Lab