Skip to content

#bad2ec

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

RGB
186, 210, 236
HSL
211°, 57%, 83%
CMYK
21, 11, 0, 8
Luminance
0.6259

Every format

HEX#bad2ec
RGBrgb(186, 210, 236)
HSLhsl(211, 57%, 83%)
CMYKcmyk(21%, 11%, 0%, 8%)
LABlab(83.2 -2.5 -15.5)
LCHlch(83.2 15.7 260.7)
OKLCHoklch(0.854 0.045 250.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bad2ec on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#bad2ec on black: 13.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green82.4%
Blue92.5%

CMYK percentages

Cyan21.2%
Magenta11.0%
Yellow0.0%
Key (black)7.5%

Color previews

#bad2ec text on a black background

contrast 13.52:1

Card sample

#bad2ec text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bad2ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bad2ec in the Color Lab