#508afd
a light, electric blue · cool · closest name: dodgerblue
RGB
80, 138, 253
HSL
220°, 98%, 65%
CMYK
68, 46, 0, 1
Luminance
0.2697
Every format
| HEX | #508afd |
| RGB | rgb(80, 138, 253) |
| HSL | hsl(220, 98%, 65%) |
| CMYK | cmyk(68%, 46%, 0%, 1%) |
| LAB | lab(59.0 17.8 -62.9) |
| LCH | lch(59.0 65.4 285.8) |
| OKLCH | oklch(0.652 0.182 262.4) |
Copy-ready code
/* CSS */
color: #508afd;
background-color: #508afd;
/* Tailwind (arbitrary) */
class="text-[#508afd] bg-[#508afd]"
/* SCSS */
$brand: #508afd;
/* SwiftUI */
Color(red: 0.314, green: 0.541, blue: 0.992)
/* Android */
Color.parseColor("#508afd")Accessibility — WCAG contrast
Aa
#508afd on white: 3.28:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#508afd on black: 6.39:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.4%
Green54.1%
Blue99.2%
CMYK percentages
Cyan68.4%
Magenta45.5%
Yellow0.0%
Key (black)0.8%
Color previews
#508afd text on a black background
contrast 6.39:1
Card sample
#508afd text on a white background
contrast 3.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #508afd;
Background color
Panel with #508afd background
background-color: #508afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #508afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(80, 138, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 138, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #508afd; background: linear-gradient(135deg, #508afd, #8950FD);