#080021
a deep, electric blue · warm · closest name: black
RGB
8, 0, 33
HSL
255°, 100%, 7%
CMYK
76, 100, 0, 87
Luminance
0.0016
Every format
| HEX | #080021 |
| RGB | rgb(8, 0, 33) |
| HSL | hsl(255, 100%, 7%) |
| CMYK | cmyk(76%, 100%, 0%, 87%) |
| LAB | lab(1.5 9.1 -17.3) |
| LCH | lch(1.5 19.5 297.6) |
| OKLCH | oklch(0.127 0.073 288.4) |
Copy-ready code
/* CSS */
color: #080021;
background-color: #080021;
/* Tailwind (arbitrary) */
class="text-[#080021] bg-[#080021]"
/* SCSS */
$brand: #080021;
/* SwiftUI */
Color(red: 0.031, green: 0.000, blue: 0.129)
/* Android */
Color.parseColor("#080021")Accessibility — WCAG contrast
Aa
#080021 on white: 20.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080021 on black: 1.03:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green0.0%
Blue12.9%
CMYK percentages
Cyan75.8%
Magenta100.0%
Yellow0.0%
Key (black)87.1%
Color previews
#080021 text on a black background
contrast 1.03:1
Card sample
#080021 text on a white background
contrast 20.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080021;
Background color
Panel with #080021 background
background-color: #080021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 0, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 0, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080021; background: linear-gradient(135deg, #080021, #1E0021);