#bac2f7
a light, electric blue · warm · closest name: lavender
RGB
186, 194, 247
HSL
232°, 79%, 85%
CMYK
25, 22, 0, 3
Luminance
0.5574
Every format
| HEX | #bac2f7 |
| RGB | rgb(186, 194, 247) |
| HSL | hsl(232, 79%, 85%) |
| CMYK | cmyk(25%, 22%, 0%, 3%) |
| LAB | lab(79.5 8.5 -27.0) |
| LCH | lch(79.5 28.3 287.5) |
| OKLCH | oklch(0.826 0.075 277.9) |
Copy-ready code
/* CSS */
color: #bac2f7;
background-color: #bac2f7;
/* Tailwind (arbitrary) */
class="text-[#bac2f7] bg-[#bac2f7]"
/* SCSS */
$brand: #bac2f7;
/* SwiftUI */
Color(red: 0.729, green: 0.761, blue: 0.969)
/* Android */
Color.parseColor("#bac2f7")Accessibility — WCAG contrast
Aa
#bac2f7 on white: 1.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bac2f7 on black: 12.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green76.1%
Blue96.9%
CMYK percentages
Cyan24.7%
Magenta21.5%
Yellow0.0%
Key (black)3.1%
Color previews
#bac2f7 text on a black background
contrast 12.15:1
Card sample
#bac2f7 text on a white background
contrast 1.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bac2f7;
Background color
Panel with #bac2f7 background
background-color: #bac2f7;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bac2f7;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 194, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 194, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bac2f7; background: linear-gradient(135deg, #bac2f7, #DBBAF7);