#0b2139
a deep, vivid blue · cool · closest name: black
RGB
11, 33, 57
HSL
211°, 68%, 13%
CMYK
81, 42, 0, 78
Luminance
0.0145
Every format
| HEX | #0b2139 |
| RGB | rgb(11, 33, 57) |
| HSL | hsl(211, 68%, 13%) |
| CMYK | cmyk(81%, 42%, 0%, 78%) |
| LAB | lab(12.3 1.1 -18.1) |
| LCH | lch(12.3 18.1 273.5) |
| OKLCH | oklch(0.244 0.054 252.6) |
Copy-ready code
/* CSS */
color: #0b2139;
background-color: #0b2139;
/* Tailwind (arbitrary) */
class="text-[#0b2139] bg-[#0b2139]"
/* SCSS */
$brand: #0b2139;
/* SwiftUI */
Color(red: 0.043, green: 0.129, blue: 0.224)
/* Android */
Color.parseColor("#0b2139")Accessibility — WCAG contrast
Aa
#0b2139 on white: 16.27:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0b2139 on black: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.3%
Green12.9%
Blue22.4%
CMYK percentages
Cyan80.7%
Magenta42.1%
Yellow0.0%
Key (black)77.6%
Color previews
#0b2139 text on a black background
contrast 1.29:1
Card sample
#0b2139 text on a white background
contrast 16.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0b2139;
Background color
Panel with #0b2139 background
background-color: #0b2139;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0b2139;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(11, 33, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 33, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b2139; background: linear-gradient(135deg, #0b2139, #140B39);