#050f0c
a deep, vivid cyan · cool · closest name: black
RGB
5, 15, 12
HSL
162°, 50%, 4%
CMYK
67, 0, 20, 94
Luminance
0.0040
Every format
| HEX | #050f0c |
| RGB | rgb(5, 15, 12) |
| HSL | hsl(162, 50%, 4%) |
| CMYK | cmyk(67%, 0%, 20%, 94%) |
| LAB | lab(3.6 -3.3 0.4) |
| LCH | lch(3.6 3.3 173.5) |
| OKLCH | oklch(0.157 0.018 174.5) |
Copy-ready code
/* CSS */
color: #050f0c;
background-color: #050f0c;
/* Tailwind (arbitrary) */
class="text-[#050f0c] bg-[#050f0c]"
/* SCSS */
$brand: #050f0c;
/* SwiftUI */
Color(red: 0.020, green: 0.059, blue: 0.047)
/* Android */
Color.parseColor("#050f0c")Accessibility — WCAG contrast
Aa
#050f0c on white: 19.44:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#050f0c on black: 1.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.0%
Green5.9%
Blue4.7%
CMYK percentages
Cyan66.7%
Magenta0.0%
Yellow20.0%
Key (black)94.1%
Color previews
#050f0c text on a black background
contrast 1.08:1
Card sample
#050f0c text on a white background
contrast 19.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #050f0c;
Background color
Panel with #050f0c background
background-color: #050f0c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #050f0c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(5, 15, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 15, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #050f0c; background: linear-gradient(135deg, #050f0c, #050B0F);