Skip to content

#bad4f0

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

RGB
186, 212, 240
HSL
211°, 64%, 84%
CMYK
23, 12, 0, 6
Luminance
0.6382

Every format

HEX#bad4f0
RGBrgb(186, 212, 240)
HSLhsl(211, 64%, 84%)
CMYKcmyk(23%, 12%, 0%, 6%)
LABlab(83.9 -2.7 -16.6)
LCHlch(83.9 16.8 260.7)
OKLCHoklch(0.860 0.048 250.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bad4f0 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#bad4f0 on black: 13.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green83.1%
Blue94.1%

CMYK percentages

Cyan22.5%
Magenta11.7%
Yellow0.0%
Key (black)5.9%

Color previews

#bad4f0 text on a black background

contrast 13.76:1

Card sample

#bad4f0 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bad4f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bad4f0 in the Color Lab