#0949eb
a balanced, electric blue · cool · closest name: royalblue
RGB
9, 73, 235
HSL
223°, 93%, 48%
CMYK
96, 69, 0, 8
Luminance
0.1082
Every format
| HEX | #0949eb |
| RGB | rgb(9, 73, 235) |
| HSL | hsl(223, 93%, 48%) |
| CMYK | cmyk(96%, 69%, 0%, 8%) |
| LAB | lab(39.3 46.1 -85.0) |
| LCH | lch(39.3 96.7 298.5) |
| OKLCH | oklch(0.494 0.248 263.5) |
Copy-ready code
/* CSS */
color: #0949eb;
background-color: #0949eb;
/* Tailwind (arbitrary) */
class="text-[#0949eb] bg-[#0949eb]"
/* SCSS */
$brand: #0949eb;
/* SwiftUI */
Color(red: 0.035, green: 0.286, blue: 0.922)
/* Android */
Color.parseColor("#0949eb")Accessibility — WCAG contrast
Aa
#0949eb on white: 6.64:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#0949eb on black: 3.16:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.5%
Green28.6%
Blue92.2%
CMYK percentages
Cyan96.2%
Magenta68.9%
Yellow0.0%
Key (black)7.8%
Color previews
#0949eb text on a black background
contrast 3.16:1
Card sample
#0949eb text on a white background
contrast 6.64:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0949eb;
Background color
Panel with #0949eb background
background-color: #0949eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0949eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(9, 73, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(9, 73, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0949eb; background: linear-gradient(135deg, #0949eb, #6009EB);