#003a5c
a deep, electric blue · cool · closest name: darkslategray
RGB
0, 58, 92
HSL
202°, 100%, 18%
CMYK
100, 37, 0, 64
Luminance
0.0380
Every format
| HEX | #003a5c |
| RGB | rgb(0, 58, 92) |
| HSL | hsl(202, 100%, 18%) |
| CMYK | cmyk(100%, 37%, 0%, 64%) |
| LAB | lab(23.0 -2.6 -25.0) |
| LCH | lch(23.0 25.1 264.0) |
| OKLCH | oklch(0.334 0.080 242.6) |
Copy-ready code
/* CSS */
color: #003a5c;
background-color: #003a5c;
/* Tailwind (arbitrary) */
class="text-[#003a5c] bg-[#003a5c]"
/* SCSS */
$brand: #003a5c;
/* SwiftUI */
Color(red: 0.000, green: 0.227, blue: 0.361)
/* Android */
Color.parseColor("#003a5c")Accessibility — WCAG contrast
Aa
#003a5c on white: 11.93:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#003a5c on black: 1.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green22.7%
Blue36.1%
CMYK percentages
Cyan100.0%
Magenta37.0%
Yellow0.0%
Key (black)63.9%
Color previews
#003a5c text on a black background
contrast 1.76:1
Card sample
#003a5c text on a white background
contrast 11.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #003a5c;
Background color
Panel with #003a5c background
background-color: #003a5c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #003a5c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 58, 92, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 58, 92, 0.45);
Border & gradient
Gradient panel
border: 3px solid #003a5c; background: linear-gradient(135deg, #003a5c, #03005C);