Skip to content

#bac2f4

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

RGB
186, 194, 244
HSL
232°, 73%, 84%
CMYK
24, 21, 0, 4
Luminance
0.5555

Every format

HEX#bac2f4
RGBrgb(186, 194, 244)
HSLhsl(232, 73%, 84%)
CMYKcmyk(24%, 21%, 0%, 4%)
LABlab(79.4 7.8 -25.6)
LCHlch(79.4 26.8 287.0)
OKLCHoklch(0.825 0.071 277.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac2f4 on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#bac2f4 on black: 12.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green76.1%
Blue95.7%

CMYK percentages

Cyan23.8%
Magenta20.5%
Yellow0.0%
Key (black)4.3%

Color previews

#bac2f4 text on a black background

contrast 12.11:1

Card sample

#bac2f4 text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac2f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac2f4 in the Color Lab