Skip to content

#badaf4

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

RGB
186, 218, 244
HSL
207°, 73%, 84%
CMYK
24, 11, 0, 4
Luminance
0.6711

Every format

HEX#badaf4
RGBrgb(186, 218, 244)
HSLhsl(207, 73%, 84%)
CMYKcmyk(24%, 11%, 0%, 4%)
LABlab(85.6 -5.0 -16.2)
LCHlch(85.6 16.9 253.0)
OKLCHoklch(0.874 0.050 242.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#badaf4 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#badaf4 on black: 14.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green85.5%
Blue95.7%

CMYK percentages

Cyan23.8%
Magenta10.7%
Yellow0.0%
Key (black)4.3%

Color previews

#badaf4 text on a black background

contrast 14.42:1

Card sample

#badaf4 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #badaf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #badaf4 in the Color Lab