#0d2139
a deep, vivid blue · cool · closest name: black
RGB
13, 33, 57
HSL
213°, 63%, 14%
CMYK
77, 42, 0, 78
Luminance
0.0147
Every format
| HEX | #0d2139 |
| RGB | rgb(13, 33, 57) |
| HSL | hsl(213, 63%, 14%) |
| CMYK | cmyk(77%, 42%, 0%, 78%) |
| LAB | lab(12.4 1.5 -17.9) |
| LCH | lch(12.4 18.0 274.8) |
| OKLCH | oklch(0.245 0.053 254.3) |
Copy-ready code
/* CSS */
color: #0d2139;
background-color: #0d2139;
/* Tailwind (arbitrary) */
class="text-[#0d2139] bg-[#0d2139]"
/* SCSS */
$brand: #0d2139;
/* SwiftUI */
Color(red: 0.051, green: 0.129, blue: 0.224)
/* Android */
Color.parseColor("#0d2139")Accessibility — WCAG contrast
Aa
#0d2139 on white: 16.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0d2139 on black: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.1%
Green12.9%
Blue22.4%
CMYK percentages
Cyan77.2%
Magenta42.1%
Yellow0.0%
Key (black)77.6%
Color previews
#0d2139 text on a black background
contrast 1.29:1
Card sample
#0d2139 text on a white background
contrast 16.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0d2139;
Background color
Panel with #0d2139 background
background-color: #0d2139;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0d2139;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(13, 33, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(13, 33, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0d2139; background: linear-gradient(135deg, #0d2139, #160D39);