#0d2149
a deep, vivid blue · cool · closest name: black
RGB
13, 33, 73
HSL
220°, 70%, 17%
CMYK
82, 55, 0, 71
Luminance
0.0165
Every format
| HEX | #0d2149 |
| RGB | rgb(13, 33, 73) |
| HSL | hsl(220, 70%, 17%) |
| CMYK | cmyk(82%, 55%, 0%, 71%) |
| LAB | lab(13.6 8.6 -27.3) |
| LCH | lch(13.6 28.6 287.5) |
| OKLCH | oklch(0.258 0.079 262.3) |
Copy-ready code
/* CSS */
color: #0d2149;
background-color: #0d2149;
/* Tailwind (arbitrary) */
class="text-[#0d2149] bg-[#0d2149]"
/* SCSS */
$brand: #0d2149;
/* SwiftUI */
Color(red: 0.051, green: 0.129, blue: 0.286)
/* Android */
Color.parseColor("#0d2149")Accessibility — WCAG contrast
Aa
#0d2149 on white: 15.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0d2149 on black: 1.33:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.1%
Green12.9%
Blue28.6%
CMYK percentages
Cyan82.2%
Magenta54.8%
Yellow0.0%
Key (black)71.4%
Color previews
#0d2149 text on a black background
contrast 1.33:1
Card sample
#0d2149 text on a white background
contrast 15.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0d2149;
Background color
Panel with #0d2149 background
background-color: #0d2149;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0d2149;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(13, 33, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(13, 33, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0d2149; background: linear-gradient(135deg, #0d2149, #210D49);