#8fa2eb
a light, vivid blue · warm · closest name: steelblue
RGB
143, 162, 235
HSL
228°, 70%, 74%
CMYK
39, 31, 0, 8
Luminance
0.3768
Every format
| HEX | #8fa2eb |
| RGB | rgb(143, 162, 235) |
| HSL | hsl(228, 70%, 74%) |
| CMYK | cmyk(39%, 31%, 0%, 8%) |
| LAB | lab(67.8 11.2 -38.8) |
| LCH | lch(67.8 40.4 286.1) |
| OKLCH | oklch(0.726 0.109 272.3) |
Copy-ready code
/* CSS */
color: #8fa2eb;
background-color: #8fa2eb;
/* Tailwind (arbitrary) */
class="text-[#8fa2eb] bg-[#8fa2eb]"
/* SCSS */
$brand: #8fa2eb;
/* SwiftUI */
Color(red: 0.561, green: 0.635, blue: 0.922)
/* Android */
Color.parseColor("#8fa2eb")Accessibility — WCAG contrast
Aa
#8fa2eb on white: 2.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8fa2eb on black: 8.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.1%
Green63.5%
Blue92.2%
CMYK percentages
Cyan39.1%
Magenta31.1%
Yellow0.0%
Key (black)7.8%
Color previews
#8fa2eb text on a black background
contrast 8.54:1
Card sample
#8fa2eb text on a white background
contrast 2.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8fa2eb;
Background color
Panel with #8fa2eb background
background-color: #8fa2eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8fa2eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(143, 162, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 162, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8fa2eb; background: linear-gradient(135deg, #8fa2eb, #B98FEB);