#0d4bab
a dark, electric blue · cool · closest name: royalblue
RGB
13, 75, 171
HSL
217°, 86%, 36%
CMYK
92, 56, 0, 33
Luminance
0.0806
Every format
| HEX | #0d4bab |
| RGB | rgb(13, 75, 171) |
| HSL | hsl(217, 86%, 36%) |
| CMYK | cmyk(92%, 56%, 0%, 33%) |
| LAB | lab(34.1 20.3 -56.3) |
| LCH | lch(34.1 59.9 289.8) |
| OKLCH | oklch(0.439 0.165 260.0) |
Copy-ready code
/* CSS */
color: #0d4bab;
background-color: #0d4bab;
/* Tailwind (arbitrary) */
class="text-[#0d4bab] bg-[#0d4bab]"
/* SCSS */
$brand: #0d4bab;
/* SwiftUI */
Color(red: 0.051, green: 0.294, blue: 0.671)
/* Android */
Color.parseColor("#0d4bab")Accessibility — WCAG contrast
Aa
#0d4bab on white: 8.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0d4bab on black: 2.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.1%
Green29.4%
Blue67.1%
CMYK percentages
Cyan92.4%
Magenta56.1%
Yellow0.0%
Key (black)32.9%
Color previews
#0d4bab text on a black background
contrast 2.61:1
Card sample
#0d4bab text on a white background
contrast 8.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0d4bab;
Background color
Panel with #0d4bab background
background-color: #0d4bab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0d4bab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(13, 75, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(13, 75, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0d4bab; background: linear-gradient(135deg, #0d4bab, #380DAB);