#0c2221
a deep, vivid cyan · cool · closest name: black
RGB
12, 34, 33
HSL
177°, 48%, 9%
CMYK
65, 0, 3, 87
Luminance
0.0133
Every format
| HEX | #0c2221 |
| RGB | rgb(12, 34, 33) |
| HSL | hsl(177, 48%, 9%) |
| CMYK | cmyk(65%, 0%, 3%, 87%) |
| LAB | lab(11.5 -9.0 -2.0) |
| LCH | lch(11.5 9.3 192.5) |
| OKLCH | oklch(0.234 0.028 191.5) |
Copy-ready code
/* CSS */
color: #0c2221;
background-color: #0c2221;
/* Tailwind (arbitrary) */
class="text-[#0c2221] bg-[#0c2221]"
/* SCSS */
$brand: #0c2221;
/* SwiftUI */
Color(red: 0.047, green: 0.133, blue: 0.129)
/* Android */
Color.parseColor("#0c2221")Accessibility — WCAG contrast
Aa
#0c2221 on white: 16.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0c2221 on black: 1.27:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green13.3%
Blue12.9%
CMYK percentages
Cyan64.7%
Magenta0.0%
Yellow2.9%
Key (black)86.7%
Color previews
#0c2221 text on a black background
contrast 1.27:1
Card sample
#0c2221 text on a white background
contrast 16.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c2221;
Background color
Panel with #0c2221 background
background-color: #0c2221;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c2221;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 34, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 34, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c2221; background: linear-gradient(135deg, #0c2221, #0C1422);