Skip to content

#badcf2

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

RGB
186, 220, 242
HSL
204°, 68%, 84%
CMYK
23, 9, 0, 5
Luminance
0.6804

Every format

HEX#badcf2
RGBrgb(186, 220, 242)
HSLhsl(204, 68%, 84%)
CMYKcmyk(23%, 9%, 0%, 5%)
LABlab(86.0 -6.4 -14.4)
LCHlch(86.0 15.8 246.0)
OKLCHoklch(0.877 0.047 236.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#badcf2 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#badcf2 on black: 14.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green86.3%
Blue94.9%

CMYK percentages

Cyan23.1%
Magenta9.1%
Yellow0.0%
Key (black)5.1%

Color previews

#badcf2 text on a black background

contrast 14.61:1

Card sample

#badcf2 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #badcf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #badcf2 in the Color Lab