#012018
a deep, electric cyan · cool · closest name: black
RGB
1, 32, 24
HSL
165°, 94%, 7%
CMYK
97, 0, 25, 88
Luminance
0.0111
Every format
| HEX | #012018 |
| RGB | rgb(1, 32, 24) |
| HSL | hsl(165, 94%, 7%) |
| CMYK | cmyk(97%, 0%, 25%, 88%) |
| LAB | lab(9.8 -14.0 2.1) |
| LCH | lch(9.8 14.2 171.4) |
| OKLCH | oklch(0.218 0.041 172.5) |
Copy-ready code
/* CSS */
color: #012018;
background-color: #012018;
/* Tailwind (arbitrary) */
class="text-[#012018] bg-[#012018]"
/* SCSS */
$brand: #012018;
/* SwiftUI */
Color(red: 0.004, green: 0.125, blue: 0.094)
/* Android */
Color.parseColor("#012018")Accessibility — WCAG contrast
Aa
#012018 on white: 17.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#012018 on black: 1.22:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.4%
Green12.5%
Blue9.4%
CMYK percentages
Cyan96.9%
Magenta0.0%
Yellow25.0%
Key (black)87.5%
Color previews
#012018 text on a black background
contrast 1.22:1
Card sample
#012018 text on a white background
contrast 17.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #012018;
Background color
Panel with #012018 background
background-color: #012018;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #012018;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(1, 32, 24, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(1, 32, 24, 0.45);
Border & gradient
Gradient panel
border: 3px solid #012018; background: linear-gradient(135deg, #012018, #011320);