#8c9dfb
a light, electric blue · warm · closest name: dodgerblue
RGB
140, 157, 251
HSL
231°, 93%, 77%
CMYK
44, 38, 0, 2
Luminance
0.3665
Every format
| HEX | #8c9dfb |
| RGB | rgb(140, 157, 251) |
| HSL | hsl(231, 93%, 77%) |
| CMYK | cmyk(44%, 38%, 0%, 2%) |
| LAB | lab(67.0 17.7 -48.8) |
| LCH | lch(67.0 51.9 290.0) |
| OKLCH | oklch(0.722 0.138 274.7) |
Copy-ready code
/* CSS */
color: #8c9dfb;
background-color: #8c9dfb;
/* Tailwind (arbitrary) */
class="text-[#8c9dfb] bg-[#8c9dfb]"
/* SCSS */
$brand: #8c9dfb;
/* SwiftUI */
Color(red: 0.549, green: 0.616, blue: 0.984)
/* Android */
Color.parseColor("#8c9dfb")Accessibility — WCAG contrast
Aa
#8c9dfb on white: 2.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8c9dfb on black: 8.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green61.6%
Blue98.4%
CMYK percentages
Cyan44.2%
Magenta37.5%
Yellow0.0%
Key (black)1.6%
Color previews
#8c9dfb text on a black background
contrast 8.33:1
Card sample
#8c9dfb text on a white background
contrast 2.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8c9dfb;
Background color
Panel with #8c9dfb background
background-color: #8c9dfb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8c9dfb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 157, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 157, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c9dfb; background: linear-gradient(135deg, #8c9dfb, #C58CFB);