#3050df
a balanced, vivid blue · warm · closest name: royalblue
RGB
48, 80, 223
HSL
229°, 73%, 53%
CMYK
79, 64, 0, 13
Luminance
0.1169
Every format
| HEX | #3050df |
| RGB | rgb(48, 80, 223) |
| HSL | hsl(229, 73%, 53%) |
| CMYK | cmyk(79%, 64%, 0%, 13%) |
| LAB | lab(40.7 39.4 -75.8) |
| LCH | lch(40.7 85.4 297.5) |
| OKLCH | oklch(0.504 0.220 267.5) |
Copy-ready code
/* CSS */
color: #3050df;
background-color: #3050df;
/* Tailwind (arbitrary) */
class="text-[#3050df] bg-[#3050df]"
/* SCSS */
$brand: #3050df;
/* SwiftUI */
Color(red: 0.188, green: 0.314, blue: 0.875)
/* Android */
Color.parseColor("#3050df")Accessibility — WCAG contrast
Aa
#3050df on white: 6.29:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#3050df on black: 3.34:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.8%
Green31.4%
Blue87.5%
CMYK percentages
Cyan78.5%
Magenta64.1%
Yellow0.0%
Key (black)12.5%
Color previews
#3050df text on a black background
contrast 3.34:1
Card sample
#3050df text on a white background
contrast 6.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3050df;
Background color
Panel with #3050df background
background-color: #3050df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3050df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(48, 80, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 80, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3050df; background: linear-gradient(135deg, #3050df, #8430DF);