#002f57
a deep, electric blue · cool · closest name: darkslategray
RGB
0, 47, 87
HSL
208°, 100%, 17%
CMYK
100, 46, 0, 66
Luminance
0.0272
Every format
| HEX | #002f57 |
| RGB | rgb(0, 47, 87) |
| HSL | hsl(208, 100%, 17%) |
| CMYK | cmyk(100%, 46%, 0%, 66%) |
| LAB | lab(18.9 2.9 -28.2) |
| LCH | lch(18.9 28.4 275.8) |
| OKLCH | oklch(0.301 0.086 250.4) |
Copy-ready code
/* CSS */
color: #002f57;
background-color: #002f57;
/* Tailwind (arbitrary) */
class="text-[#002f57] bg-[#002f57]"
/* SCSS */
$brand: #002f57;
/* SwiftUI */
Color(red: 0.000, green: 0.184, blue: 0.341)
/* Android */
Color.parseColor("#002f57")Accessibility — WCAG contrast
Aa
#002f57 on white: 13.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#002f57 on black: 1.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green18.4%
Blue34.1%
CMYK percentages
Cyan100.0%
Magenta46.0%
Yellow0.0%
Key (black)65.9%
Color previews
#002f57 text on a black background
contrast 1.54:1
Card sample
#002f57 text on a white background
contrast 13.60:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #002f57;
Background color
Panel with #002f57 background
background-color: #002f57;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #002f57;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 47, 87, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 47, 87, 0.45);
Border & gradient
Gradient panel
border: 3px solid #002f57; background: linear-gradient(135deg, #002f57, #0B0057);