#0049df
a dark, electric blue · cool · closest name: royalblue
RGB
0, 73, 223
HSL
220°, 100%, 44%
CMYK
100, 67, 0, 13
Luminance
0.1009
Every format
| HEX | #0049df |
| RGB | rgb(0, 73, 223) |
| HSL | hsl(220, 100%, 44%) |
| CMYK | cmyk(100%, 67%, 0%, 13%) |
| LAB | lab(38.0 41.5 -80.3) |
| LCH | lch(38.0 90.4 297.4) |
| OKLCH | oklch(0.481 0.235 262.7) |
Copy-ready code
/* CSS */
color: #0049df;
background-color: #0049df;
/* Tailwind (arbitrary) */
class="text-[#0049df] bg-[#0049df]"
/* SCSS */
$brand: #0049df;
/* SwiftUI */
Color(red: 0.000, green: 0.286, blue: 0.875)
/* Android */
Color.parseColor("#0049df")Accessibility — WCAG contrast
Aa
#0049df on white: 6.96:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#0049df on black: 3.02:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green28.6%
Blue87.5%
CMYK percentages
Cyan100.0%
Magenta67.3%
Yellow0.0%
Key (black)12.5%
Color previews
#0049df text on a black background
contrast 3.02:1
Card sample
#0049df text on a white background
contrast 6.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0049df;
Background color
Panel with #0049df background
background-color: #0049df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0049df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 73, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 73, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0049df; background: linear-gradient(135deg, #0049df, #4C00DF);