#003ac9
a dark, electric blue · cool · closest name: navy
RGB
0, 58, 201
HSL
223°, 100%, 39%
CMYK
100, 71, 0, 21
Luminance
0.0724
Every format
| HEX | #003ac9 |
| RGB | rgb(0, 58, 201) |
| HSL | hsl(223, 100%, 39%) |
| CMYK | cmyk(100%, 71%, 0%, 21%) |
| LAB | lab(32.4 42.8 -76.9) |
| LCH | lch(32.4 88.0 299.1) |
| OKLCH | oklch(0.434 0.225 263.3) |
Copy-ready code
/* CSS */
color: #003ac9;
background-color: #003ac9;
/* Tailwind (arbitrary) */
class="text-[#003ac9] bg-[#003ac9]"
/* SCSS */
$brand: #003ac9;
/* SwiftUI */
Color(red: 0.000, green: 0.227, blue: 0.788)
/* Android */
Color.parseColor("#003ac9")Accessibility — WCAG contrast
Aa
#003ac9 on white: 8.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#003ac9 on black: 2.45:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green22.7%
Blue78.8%
CMYK percentages
Cyan100.0%
Magenta71.1%
Yellow0.0%
Key (black)21.2%
Color previews
#003ac9 text on a black background
contrast 2.45:1
Card sample
#003ac9 text on a white background
contrast 8.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #003ac9;
Background color
Panel with #003ac9 background
background-color: #003ac9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #003ac9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 58, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 58, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #003ac9; background: linear-gradient(135deg, #003ac9, #4C00C9);