#8e8fdf
a light, vivid blue · warm · closest name: dodgerblue
RGB
142, 143, 223
HSL
239°, 56%, 72%
CMYK
36, 36, 0, 13
Luminance
0.3072
Every format
| HEX | #8e8fdf |
| RGB | rgb(142, 143, 223) |
| HSL | hsl(239, 56%, 72%) |
| CMYK | cmyk(36%, 36%, 0%, 13%) |
| LAB | lab(62.3 18.6 -40.8) |
| LCH | lch(62.3 44.9 294.5) |
| OKLCH | oklch(0.682 0.117 282.3) |
Copy-ready code
/* CSS */
color: #8e8fdf;
background-color: #8e8fdf;
/* Tailwind (arbitrary) */
class="text-[#8e8fdf] bg-[#8e8fdf]"
/* SCSS */
$brand: #8e8fdf;
/* SwiftUI */
Color(red: 0.557, green: 0.561, blue: 0.875)
/* Android */
Color.parseColor("#8e8fdf")Accessibility — WCAG contrast
Aa
#8e8fdf on white: 2.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8e8fdf on black: 7.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red55.7%
Green56.1%
Blue87.5%
CMYK percentages
Cyan36.3%
Magenta35.9%
Yellow0.0%
Key (black)12.5%
Color previews
#8e8fdf text on a black background
contrast 7.14:1
Card sample
#8e8fdf text on a white background
contrast 2.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8e8fdf;
Background color
Panel with #8e8fdf background
background-color: #8e8fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8e8fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(142, 143, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(142, 143, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8e8fdf; background: linear-gradient(135deg, #8e8fdf, #C38EDF);