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