#050f24
a deep, electric blue · cool · closest name: black
RGB
5, 15, 36
HSL
221°, 76%, 8%
CMYK
86, 58, 0, 86
Luminance
0.0050
Every format
| HEX | #050f24 |
| RGB | rgb(5, 15, 36) |
| HSL | hsl(221, 76%, 8%) |
| CMYK | cmyk(86%, 58%, 0%, 86%) |
| LAB | lab(4.5 3.1 -14.9) |
| LCH | lch(4.5 15.3 281.7) |
| OKLCH | oklch(0.172 0.047 261.9) |
Copy-ready code
/* CSS */
color: #050f24;
background-color: #050f24;
/* Tailwind (arbitrary) */
class="text-[#050f24] bg-[#050f24]"
/* SCSS */
$brand: #050f24;
/* SwiftUI */
Color(red: 0.020, green: 0.059, blue: 0.141)
/* Android */
Color.parseColor("#050f24")Accessibility — WCAG contrast
Aa
#050f24 on white: 19.09:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#050f24 on black: 1.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.0%
Green5.9%
Blue14.1%
CMYK percentages
Cyan86.1%
Magenta58.3%
Yellow0.0%
Key (black)85.9%
Color previews
#050f24 text on a black background
contrast 1.10:1
Card sample
#050f24 text on a white background
contrast 19.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #050f24;
Background color
Panel with #050f24 background
background-color: #050f24;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #050f24;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(5, 15, 36, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 15, 36, 0.45);
Border & gradient
Gradient panel
border: 3px solid #050f24; background: linear-gradient(135deg, #050f24, #100524);