#0a0821
a deep, vivid blue · warm · closest name: black
RGB
10, 8, 33
HSL
245°, 61%, 8%
CMYK
70, 76, 0, 87
Luminance
0.0035
Every format
| HEX | #0a0821 |
| RGB | rgb(10, 8, 33) |
| HSL | hsl(245, 61%, 8%) |
| CMYK | cmyk(70%, 76%, 0%, 87%) |
| LAB | lab(3.1 6.4 -14.7) |
| LCH | lch(3.1 16.1 293.4) |
| OKLCH | oklch(0.156 0.051 282.5) |
Copy-ready code
/* CSS */
color: #0a0821;
background-color: #0a0821;
/* Tailwind (arbitrary) */
class="text-[#0a0821] bg-[#0a0821]"
/* SCSS */
$brand: #0a0821;
/* SwiftUI */
Color(red: 0.039, green: 0.031, blue: 0.129)
/* Android */
Color.parseColor("#0a0821")Accessibility — WCAG contrast
Aa
#0a0821 on white: 19.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0a0821 on black: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.9%
Green3.1%
Blue12.9%
CMYK percentages
Cyan69.7%
Magenta75.8%
Yellow0.0%
Key (black)87.1%
Color previews
#0a0821 text on a black background
contrast 1.07:1
Card sample
#0a0821 text on a white background
contrast 19.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0a0821;
Background color
Panel with #0a0821 background
background-color: #0a0821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0a0821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(10, 8, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(10, 8, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0a0821; background: linear-gradient(135deg, #0a0821, #1B0821);