#004abc
a dark, electric blue · cool · closest name: royalblue
RGB
0, 74, 188
HSL
216°, 100%, 37%
CMYK
100, 61, 0, 26
Luminance
0.0853
Every format
| HEX | #004abc |
| RGB | rgb(0, 74, 188) |
| HSL | hsl(216, 100%, 37%) |
| CMYK | cmyk(100%, 61%, 0%, 26%) |
| LAB | lab(35.1 27.4 -64.8) |
| LCH | lch(35.1 70.4 292.9) |
| OKLCH | oklch(0.450 0.190 260.7) |
Copy-ready code
/* CSS */
color: #004abc;
background-color: #004abc;
/* Tailwind (arbitrary) */
class="text-[#004abc] bg-[#004abc]"
/* SCSS */
$brand: #004abc;
/* SwiftUI */
Color(red: 0.000, green: 0.290, blue: 0.737)
/* Android */
Color.parseColor("#004abc")Accessibility — WCAG contrast
Aa
#004abc on white: 7.76:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#004abc on black: 2.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green29.0%
Blue73.7%
CMYK percentages
Cyan100.0%
Magenta60.6%
Yellow0.0%
Key (black)26.3%
Color previews
#004abc text on a black background
contrast 2.71:1
Card sample
#004abc text on a white background
contrast 7.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #004abc;
Background color
Panel with #004abc background
background-color: #004abc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #004abc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 74, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 74, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #004abc; background: linear-gradient(135deg, #004abc, #3300BC);