Skip to content

#bac7eb

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

RGB
186, 199, 235
HSL
224°, 55%, 83%
CMYK
21, 15, 0, 8
Luminance
0.5728

Every format

HEX#bac7eb
RGBrgb(186, 199, 235)
HSLhsl(224, 55%, 83%)
CMYKcmyk(21%, 15%, 0%, 8%)
LABlab(80.3 3.1 -19.3)
LCHlch(80.3 19.5 279.1)
OKLCHoklch(0.832 0.052 269.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac7eb on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#bac7eb on black: 12.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green78.0%
Blue92.2%

CMYK percentages

Cyan20.9%
Magenta15.3%
Yellow0.0%
Key (black)7.8%

Color previews

#bac7eb text on a black background

contrast 12.46:1

Card sample

#bac7eb text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac7eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac7eb in the Color Lab