Skip to content

#babdf2

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

RGB
186, 189, 242
HSL
237°, 68%, 84%
CMYK
23, 22, 0, 5
Luminance
0.5325

Every format

HEX#babdf2
RGBrgb(186, 189, 242)
HSLhsl(237, 68%, 84%)
CMYKcmyk(23%, 22%, 0%, 5%)
LABlab(78.0 10.1 -26.6)
LCHlch(78.0 28.4 290.7)
OKLCHoklch(0.814 0.075 282.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#babdf2 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#babdf2 on black: 11.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green74.1%
Blue94.9%

CMYK percentages

Cyan23.1%
Magenta21.9%
Yellow0.0%
Key (black)5.1%

Color previews

#babdf2 text on a black background

contrast 11.65:1

Card sample

#babdf2 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #babdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #babdf2 in the Color Lab