#8fbafc
a light, electric blue · cool · closest name: steelblue
RGB
143, 186, 252
HSL
216°, 95%, 78%
CMYK
43, 26, 0, 1
Luminance
0.4799
Every format
| HEX | #8fbafc |
| RGB | rgb(143, 186, 252) |
| HSL | hsl(216, 95%, 78%) |
| CMYK | cmyk(43%, 26%, 0%, 1%) |
| LAB | lab(74.8 2.4 -37.1) |
| LCH | lch(74.8 37.2 273.7) |
| OKLCH | oklch(0.783 0.106 258.8) |
Copy-ready code
/* CSS */
color: #8fbafc;
background-color: #8fbafc;
/* Tailwind (arbitrary) */
class="text-[#8fbafc] bg-[#8fbafc]"
/* SCSS */
$brand: #8fbafc;
/* SwiftUI */
Color(red: 0.561, green: 0.729, blue: 0.988)
/* Android */
Color.parseColor("#8fbafc")Accessibility — WCAG contrast
Aa
#8fbafc on white: 1.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8fbafc on black: 10.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.1%
Green72.9%
Blue98.8%
CMYK percentages
Cyan43.3%
Magenta26.2%
Yellow0.0%
Key (black)1.2%
Color previews
#8fbafc text on a black background
contrast 10.60:1
Card sample
#8fbafc text on a white background
contrast 1.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8fbafc;
Background color
Panel with #8fbafc background
background-color: #8fbafc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8fbafc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(143, 186, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 186, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8fbafc; background: linear-gradient(135deg, #8fbafc, #AD8FFC);