#508fdf
a balanced, vivid blue · cool · closest name: dodgerblue
RGB
80, 143, 223
HSL
214°, 69%, 59%
CMYK
64, 36, 0, 13
Luminance
0.2668
Every format
| HEX | #508fdf |
| RGB | rgb(80, 143, 223) |
| HSL | hsl(214, 69%, 59%) |
| CMYK | cmyk(64%, 36%, 0%, 13%) |
| LAB | lab(58.7 4.5 -46.7) |
| LCH | lch(58.7 47.0 275.6) |
| OKLCH | oklch(0.645 0.137 255.3) |
Copy-ready code
/* CSS */
color: #508fdf;
background-color: #508fdf;
/* Tailwind (arbitrary) */
class="text-[#508fdf] bg-[#508fdf]"
/* SCSS */
$brand: #508fdf;
/* SwiftUI */
Color(red: 0.314, green: 0.561, blue: 0.875)
/* Android */
Color.parseColor("#508fdf")Accessibility — WCAG contrast
Aa
#508fdf on white: 3.31:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#508fdf on black: 6.34:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.4%
Green56.1%
Blue87.5%
CMYK percentages
Cyan64.1%
Magenta35.9%
Yellow0.0%
Key (black)12.5%
Color previews
#508fdf text on a black background
contrast 6.34:1
Card sample
#508fdf text on a white background
contrast 3.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #508fdf;
Background color
Panel with #508fdf background
background-color: #508fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #508fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(80, 143, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 143, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #508fdf; background: linear-gradient(135deg, #508fdf, #7050DF);