#002ba3
a dark, electric blue · cool · closest name: navy
RGB
0, 43, 163
HSL
224°, 100%, 32%
CMYK
100, 74, 0, 36
Luminance
0.0437
Every format
| HEX | #002ba3 |
| RGB | rgb(0, 43, 163) |
| HSL | hsl(224, 100%, 32%) |
| CMYK | cmyk(100%, 74%, 0%, 36%) |
| LAB | lab(24.9 38.1 -66.7) |
| LCH | lch(24.9 76.8 299.7) |
| OKLCH | oklch(0.367 0.195 263.5) |
Copy-ready code
/* CSS */
color: #002ba3;
background-color: #002ba3;
/* Tailwind (arbitrary) */
class="text-[#002ba3] bg-[#002ba3]"
/* SCSS */
$brand: #002ba3;
/* SwiftUI */
Color(red: 0.000, green: 0.169, blue: 0.639)
/* Android */
Color.parseColor("#002ba3")Accessibility — WCAG contrast
Aa
#002ba3 on white: 11.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#002ba3 on black: 1.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green16.9%
Blue63.9%
CMYK percentages
Cyan100.0%
Magenta73.6%
Yellow0.0%
Key (black)36.1%
Color previews
#002ba3 text on a black background
contrast 1.87:1
Card sample
#002ba3 text on a white background
contrast 11.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #002ba3;
Background color
Panel with #002ba3 background
background-color: #002ba3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #002ba3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 43, 163, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 43, 163, 0.45);
Border & gradient
Gradient panel
border: 3px solid #002ba3; background: linear-gradient(135deg, #002ba3, #4200A3);