Skip to content

#bac2f2

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

RGB
186, 194, 242
HSL
231°, 68%, 84%
CMYK
23, 20, 0, 5
Luminance
0.5543

Every format

HEX#bac2f2
RGBrgb(186, 194, 242)
HSLhsl(231, 68%, 84%)
CMYKcmyk(23%, 20%, 0%, 5%)
LABlab(79.3 7.3 -24.6)
LCHlch(79.3 25.7 286.6)
OKLCHoklch(0.824 0.068 277.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green76.1%
Blue94.9%

CMYK percentages

Cyan23.1%
Magenta19.8%
Yellow0.0%
Key (black)5.1%

Color previews

#bac2f2 text on a black background

contrast 12.09:1

Card sample

#bac2f2 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac2f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac2f2 in the Color Lab