#5378df
a balanced, vivid blue · cool · closest name: royalblue
RGB
83, 120, 223
HSL
224°, 69%, 60%
CMYK
63, 46, 0, 13
Luminance
0.2060
Every format
| HEX | #5378df |
| RGB | rgb(83, 120, 223) |
| HSL | hsl(224, 69%, 60%) |
| CMYK | cmyk(63%, 46%, 0%, 13%) |
| LAB | lab(52.5 19.0 -56.5) |
| LCH | lch(52.5 59.6 288.5) |
| OKLCH | oklch(0.597 0.162 266.7) |
Copy-ready code
/* CSS */
color: #5378df;
background-color: #5378df;
/* Tailwind (arbitrary) */
class="text-[#5378df] bg-[#5378df]"
/* SCSS */
$brand: #5378df;
/* SwiftUI */
Color(red: 0.325, green: 0.471, blue: 0.875)
/* Android */
Color.parseColor("#5378df")Accessibility — WCAG contrast
Aa
#5378df on white: 4.10:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#5378df on black: 5.12:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.5%
Green47.1%
Blue87.5%
CMYK percentages
Cyan62.8%
Magenta46.2%
Yellow0.0%
Key (black)12.5%
Color previews
#5378df text on a black background
contrast 5.12:1
Card sample
#5378df text on a white background
contrast 4.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #5378df;
Background color
Panel with #5378df background
background-color: #5378df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #5378df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(83, 120, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 120, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5378df; background: linear-gradient(135deg, #5378df, #8B53DF);