Skip to content

#bac2fc

a pale, electric blue · warm · closest name: lavender

RGB
186, 194, 252
HSL
233°, 92%, 86%
CMYK
26, 23, 0, 1
Luminance
0.5605

Every format

HEX#bac2fc
RGBrgb(186, 194, 252)
HSLhsl(233, 92%, 86%)
CMYKcmyk(26%, 23%, 0%, 1%)
LABlab(79.6 9.7 -29.4)
LCHlch(79.6 31.0 288.2)
OKLCHoklch(0.828 0.082 278.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac2fc on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#bac2fc on black: 12.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green76.1%
Blue98.8%

CMYK percentages

Cyan26.2%
Magenta23.0%
Yellow0.0%
Key (black)1.2%

Color previews

#bac2fc text on a black background

contrast 12.21:1

Card sample

#bac2fc text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac2fc in the Color Lab