#0a141f
a deep, vivid blue · cool · closest name: black
RGB
10, 20, 31
HSL
211°, 51%, 8%
CMYK
68, 36, 0, 88
Luminance
0.0066
Every format
| HEX | #0a141f |
| RGB | rgb(10, 20, 31) |
| HSL | hsl(211, 51%, 8%) |
| CMYK | cmyk(68%, 36%, 0%, 88%) |
| LAB | lab(6.0 -0.3 -8.8) |
| LCH | lch(6.0 8.8 267.8) |
| OKLCH | oklch(0.188 0.027 251.7) |
Copy-ready code
/* CSS */
color: #0a141f;
background-color: #0a141f;
/* Tailwind (arbitrary) */
class="text-[#0a141f] bg-[#0a141f]"
/* SCSS */
$brand: #0a141f;
/* SwiftUI */
Color(red: 0.039, green: 0.078, blue: 0.122)
/* Android */
Color.parseColor("#0a141f")Accessibility — WCAG contrast
Aa
#0a141f on white: 18.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0a141f on black: 1.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.9%
Green7.8%
Blue12.2%
CMYK percentages
Cyan67.7%
Magenta35.5%
Yellow0.0%
Key (black)87.8%
Color previews
#0a141f text on a black background
contrast 1.13:1
Card sample
#0a141f text on a white background
contrast 18.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0a141f;
Background color
Panel with #0a141f background
background-color: #0a141f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0a141f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(10, 20, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(10, 20, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0a141f; background: linear-gradient(135deg, #0a141f, #0E0A1F);