#8c9dfd
a light, electric blue · warm · closest name: dodgerblue
RGB
140, 157, 253
HSL
231°, 97%, 77%
CMYK
45, 38, 0, 1
Luminance
0.3678
Every format
| HEX | #8c9dfd |
| RGB | rgb(140, 157, 253) |
| HSL | hsl(231, 97%, 77%) |
| CMYK | cmyk(45%, 38%, 0%, 1%) |
| LAB | lab(67.1 18.3 -49.7) |
| LCH | lch(67.1 53.0 290.2) |
| OKLCH | oklch(0.723 0.141 274.7) |
Copy-ready code
/* CSS */
color: #8c9dfd;
background-color: #8c9dfd;
/* Tailwind (arbitrary) */
class="text-[#8c9dfd] bg-[#8c9dfd]"
/* SCSS */
$brand: #8c9dfd;
/* SwiftUI */
Color(red: 0.549, green: 0.616, blue: 0.992)
/* Android */
Color.parseColor("#8c9dfd")Accessibility — WCAG contrast
Aa
#8c9dfd on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8c9dfd on black: 8.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green61.6%
Blue99.2%
CMYK percentages
Cyan44.7%
Magenta37.9%
Yellow0.0%
Key (black)0.8%
Color previews
#8c9dfd text on a black background
contrast 8.36:1
Card sample
#8c9dfd text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8c9dfd;
Background color
Panel with #8c9dfd background
background-color: #8c9dfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8c9dfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 157, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 157, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c9dfd; background: linear-gradient(135deg, #8c9dfd, #C68CFD);