#508cfd
a light, electric blue · cool · closest name: dodgerblue
RGB
80, 140, 253
HSL
219°, 98%, 65%
CMYK
68, 45, 0, 1
Luminance
0.2755
Every format
| HEX | #508cfd |
| RGB | rgb(80, 140, 253) |
| HSL | hsl(219, 98%, 65%) |
| CMYK | cmyk(68%, 45%, 0%, 1%) |
| LAB | lab(59.5 16.6 -62.1) |
| LCH | lch(59.5 64.3 285.0) |
| OKLCH | oklch(0.656 0.179 261.7) |
Copy-ready code
/* CSS */
color: #508cfd;
background-color: #508cfd;
/* Tailwind (arbitrary) */
class="text-[#508cfd] bg-[#508cfd]"
/* SCSS */
$brand: #508cfd;
/* SwiftUI */
Color(red: 0.314, green: 0.549, blue: 0.992)
/* Android */
Color.parseColor("#508cfd")Accessibility — WCAG contrast
Aa
#508cfd on white: 3.23:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#508cfd on black: 6.51:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.4%
Green54.9%
Blue99.2%
CMYK percentages
Cyan68.4%
Magenta44.7%
Yellow0.0%
Key (black)0.8%
Color previews
#508cfd text on a black background
contrast 6.51:1
Card sample
#508cfd text on a white background
contrast 3.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #508cfd;
Background color
Panel with #508cfd background
background-color: #508cfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #508cfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(80, 140, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 140, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #508cfd; background: linear-gradient(135deg, #508cfd, #8750FD);