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