#4f80df
a balanced, vivid blue · cool · closest name: dodgerblue
RGB
79, 128, 223
HSL
220°, 69%, 59%
CMYK
65, 43, 0, 13
Luminance
0.2243
Every format
| HEX | #4f80df |
| RGB | rgb(79, 128, 223) |
| HSL | hsl(220, 69%, 59%) |
| CMYK | cmyk(65%, 43%, 0%, 13%) |
| LAB | lab(54.5 13.4 -53.4) |
| LCH | lch(54.5 55.1 284.1) |
| OKLCH | oklch(0.612 0.154 262.3) |
Copy-ready code
/* CSS */
color: #4f80df;
background-color: #4f80df;
/* Tailwind (arbitrary) */
class="text-[#4f80df] bg-[#4f80df]"
/* SCSS */
$brand: #4f80df;
/* SwiftUI */
Color(red: 0.310, green: 0.502, blue: 0.875)
/* Android */
Color.parseColor("#4f80df")Accessibility — WCAG contrast
Aa
#4f80df on white: 3.83:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#4f80df on black: 5.49:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.0%
Green50.2%
Blue87.5%
CMYK percentages
Cyan64.6%
Magenta42.6%
Yellow0.0%
Key (black)12.5%
Color previews
#4f80df text on a black background
contrast 5.49:1
Card sample
#4f80df text on a white background
contrast 3.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4f80df;
Background color
Panel with #4f80df background
background-color: #4f80df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4f80df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(79, 128, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 128, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f80df; background: linear-gradient(135deg, #4f80df, #7E4FDF);