#050821
a deep, vivid blue · warm · closest name: black
RGB
5, 8, 33
HSL
234°, 74%, 8%
CMYK
85, 76, 0, 87
Luminance
0.0032
Every format
| HEX | #050821 |
| RGB | rgb(5, 8, 33) |
| HSL | hsl(234, 74%, 8%) |
| CMYK | cmyk(85%, 76%, 0%, 87%) |
| LAB | lab(2.9 5.1 -15.2) |
| LCH | lch(2.9 16.0 288.4) |
| OKLCH | oklch(0.150 0.053 271.8) |
Copy-ready code
/* CSS */
color: #050821;
background-color: #050821;
/* Tailwind (arbitrary) */
class="text-[#050821] bg-[#050821]"
/* SCSS */
$brand: #050821;
/* SwiftUI */
Color(red: 0.020, green: 0.031, blue: 0.129)
/* Android */
Color.parseColor("#050821")Accessibility — WCAG contrast
Aa
#050821 on white: 19.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#050821 on black: 1.06:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.0%
Green3.1%
Blue12.9%
CMYK percentages
Cyan84.8%
Magenta75.8%
Yellow0.0%
Key (black)87.1%
Color previews
#050821 text on a black background
contrast 1.06:1
Card sample
#050821 text on a white background
contrast 19.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #050821;
Background color
Panel with #050821 background
background-color: #050821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #050821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(5, 8, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 8, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #050821; background: linear-gradient(135deg, #050821, #150521);