#0f49bd
a dark, electric blue · cool · closest name: royalblue
RGB
15, 73, 189
HSL
220°, 85%, 40%
CMYK
92, 61, 0, 26
Luminance
0.0854
Every format
| HEX | #0f49bd |
| RGB | rgb(15, 73, 189) |
| HSL | hsl(220, 85%, 40%) |
| CMYK | cmyk(92%, 61%, 0%, 26%) |
| LAB | lab(35.1 29.0 -65.4) |
| LCH | lch(35.1 71.5 293.9) |
| OKLCH | oklch(0.451 0.191 262.2) |
Copy-ready code
/* CSS */
color: #0f49bd;
background-color: #0f49bd;
/* Tailwind (arbitrary) */
class="text-[#0f49bd] bg-[#0f49bd]"
/* SCSS */
$brand: #0f49bd;
/* SwiftUI */
Color(red: 0.059, green: 0.286, blue: 0.741)
/* Android */
Color.parseColor("#0f49bd")Accessibility — WCAG contrast
Aa
#0f49bd on white: 7.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f49bd on black: 2.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green28.6%
Blue74.1%
CMYK percentages
Cyan92.1%
Magenta61.4%
Yellow0.0%
Key (black)25.9%
Color previews
#0f49bd text on a black background
contrast 2.71:1
Card sample
#0f49bd text on a white background
contrast 7.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f49bd;
Background color
Panel with #0f49bd background
background-color: #0f49bd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f49bd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 73, 189, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 73, 189, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f49bd; background: linear-gradient(135deg, #0f49bd, #490FBD);