Skip to content

#bac2f3

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

RGB
186, 194, 243
HSL
232°, 70%, 84%
CMYK
24, 20, 0, 5
Luminance
0.5549

Every format

HEX#bac2f3
RGBrgb(186, 194, 243)
HSLhsl(232, 70%, 84%)
CMYKcmyk(24%, 20%, 0%, 5%)
LABlab(79.3 7.6 -25.1)
LCHlch(79.3 26.2 286.8)
OKLCHoklch(0.825 0.069 277.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac2f3 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#bac2f3 on black: 12.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green76.1%
Blue95.3%

CMYK percentages

Cyan23.5%
Magenta20.2%
Yellow0.0%
Key (black)4.7%

Color previews

#bac2f3 text on a black background

contrast 12.10:1

Card sample

#bac2f3 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac2f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac2f3 in the Color Lab