Skip to content

#c2ccfb

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

RGB
194, 204, 251
HSL
230°, 88%, 87%
CMYK
23, 19, 0, 2
Luminance
0.6162

Every format

HEX#c2ccfb
RGBrgb(194, 204, 251)
HSLhsl(230, 88%, 87%)
CMYKcmyk(23%, 19%, 0%, 2%)
LABlab(82.7 6.4 -24.2)
LCHlch(82.7 25.0 284.8)
OKLCHoklch(0.853 0.066 275.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green80.0%
Blue98.4%

CMYK percentages

Cyan22.7%
Magenta18.7%
Yellow0.0%
Key (black)1.6%

Color previews

#c2ccfb text on a black background

contrast 13.32:1

Card sample

#c2ccfb text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2ccfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ccfb in the Color Lab