#024c64
a deep, electric cyan · cool · closest name: darkslategray
RGB
2, 76, 100
HSL
195°, 96%, 20%
CMYK
98, 24, 0, 61
Luminance
0.0610
Every format
| HEX | #024c64 |
| RGB | rgb(2, 76, 100) |
| HSL | hsl(195, 96%, 20%) |
| CMYK | cmyk(98%, 24%, 0%, 61%) |
| LAB | lab(29.7 -10.6 -19.7) |
| LCH | lch(29.7 22.4 241.6) |
| OKLCH | oklch(0.389 0.075 227.8) |
Copy-ready code
/* CSS */
color: #024c64;
background-color: #024c64;
/* Tailwind (arbitrary) */
class="text-[#024c64] bg-[#024c64]"
/* SCSS */
$brand: #024c64;
/* SwiftUI */
Color(red: 0.008, green: 0.298, blue: 0.392)
/* Android */
Color.parseColor("#024c64")Accessibility — WCAG contrast
Aa
#024c64 on white: 9.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#024c64 on black: 2.22:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.8%
Green29.8%
Blue39.2%
CMYK percentages
Cyan98.0%
Magenta24.0%
Yellow0.0%
Key (black)60.8%
Color previews
#024c64 text on a black background
contrast 2.22:1
Card sample
#024c64 text on a white background
contrast 9.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #024c64;
Background color
Panel with #024c64 background
background-color: #024c64;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #024c64;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(2, 76, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 76, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #024c64; background: linear-gradient(135deg, #024c64, #020B64);