#1d2c49
a deep, soft blue · cool · closest name: darkslategray
RGB
29, 44, 73
HSL
220°, 43%, 20%
CMYK
60, 40, 0, 71
Luminance
0.0254
Every format
| HEX | #1d2c49 |
| RGB | rgb(29, 44, 73) |
| HSL | hsl(220, 43%, 20%) |
| CMYK | cmyk(60%, 40%, 0%, 71%) |
| LAB | lab(18.1 3.8 -20.0) |
| LCH | lch(18.1 20.3 280.8) |
| OKLCH | oklch(0.295 0.057 262.6) |
Copy-ready code
/* CSS */
color: #1d2c49;
background-color: #1d2c49;
/* Tailwind (arbitrary) */
class="text-[#1d2c49] bg-[#1d2c49]"
/* SCSS */
$brand: #1d2c49;
/* SwiftUI */
Color(red: 0.114, green: 0.173, blue: 0.286)
/* Android */
Color.parseColor("#1d2c49")Accessibility — WCAG contrast
Aa
#1d2c49 on white: 13.92:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1d2c49 on black: 1.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red11.4%
Green17.3%
Blue28.6%
CMYK percentages
Cyan60.3%
Magenta39.7%
Yellow0.0%
Key (black)71.4%
Color previews
#1d2c49 text on a black background
contrast 1.51:1
Card sample
#1d2c49 text on a white background
contrast 13.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1d2c49;
Background color
Panel with #1d2c49 background
background-color: #1d2c49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1d2c49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(29, 44, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 44, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1d2c49; background: linear-gradient(135deg, #1d2c49, #2B1D49);