#001acc
a dark, electric blue · warm · closest name: blue
RGB
0, 26, 204
HSL
232°, 100%, 40%
CMYK
100, 87, 0, 20
Luminance
0.0510
Every format
| HEX | #001acc |
| RGB | rgb(0, 26, 204) |
| HSL | hsl(232, 100%, 40%) |
| CMYK | cmyk(100%, 87%, 0%, 20%) |
| LAB | lab(27.0 60.2 -87.5) |
| LCH | lch(27.0 106.2 304.5) |
| OKLCH | oklch(0.397 0.255 264.2) |
Copy-ready code
/* CSS */
color: #001acc;
background-color: #001acc;
/* Tailwind (arbitrary) */
class="text-[#001acc] bg-[#001acc]"
/* SCSS */
$brand: #001acc;
/* SwiftUI */
Color(red: 0.000, green: 0.102, blue: 0.800)
/* Android */
Color.parseColor("#001acc")Accessibility — WCAG contrast
Aa
#001acc on white: 10.40:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#001acc on black: 2.02:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green10.2%
Blue80.0%
CMYK percentages
Cyan100.0%
Magenta87.3%
Yellow0.0%
Key (black)20.0%
Color previews
#001acc text on a black background
contrast 2.02:1
Card sample
#001acc text on a white background
contrast 10.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #001acc;
Background color
Panel with #001acc background
background-color: #001acc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #001acc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 26, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 26, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #001acc; background: linear-gradient(135deg, #001acc, #6E00CC);