#0949af
a dark, electric blue · cool · closest name: royalblue
RGB
9, 73, 175
HSL
217°, 90%, 36%
CMYK
95, 58, 0, 31
Luminance
0.0792
Every format
| HEX | #0949af |
| RGB | rgb(9, 73, 175) |
| HSL | hsl(217, 90%, 36%) |
| CMYK | cmyk(95%, 58%, 0%, 31%) |
| LAB | lab(33.8 23.1 -59.2) |
| LCH | lch(33.8 63.5 291.4) |
| OKLCH | oklch(0.437 0.174 260.5) |
Copy-ready code
/* CSS */
color: #0949af;
background-color: #0949af;
/* Tailwind (arbitrary) */
class="text-[#0949af] bg-[#0949af]"
/* SCSS */
$brand: #0949af;
/* SwiftUI */
Color(red: 0.035, green: 0.286, blue: 0.686)
/* Android */
Color.parseColor("#0949af")Accessibility — WCAG contrast
Aa
#0949af on white: 8.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0949af on black: 2.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.5%
Green28.6%
Blue68.6%
CMYK percentages
Cyan94.9%
Magenta58.3%
Yellow0.0%
Key (black)31.4%
Color previews
#0949af text on a black background
contrast 2.58:1
Card sample
#0949af text on a white background
contrast 8.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0949af;
Background color
Panel with #0949af background
background-color: #0949af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0949af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(9, 73, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(9, 73, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0949af; background: linear-gradient(135deg, #0949af, #3809AF);