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