#2c313c
a deep, soft blue · cool · closest name: darkslategray
RGB
44, 49, 60
HSL
221°, 15%, 20%
CMYK
27, 18, 0, 77
Luminance
0.0306
Every format
| HEX | #2c313c |
| RGB | rgb(44, 49, 60) |
| HSL | hsl(221, 15%, 20%) |
| CMYK | cmyk(27%, 18%, 0%, 77%) |
| LAB | lab(20.3 0.8 -7.7) |
| LCH | lch(20.3 7.7 276.0) |
| OKLCH | oklch(0.313 0.021 265.9) |
Copy-ready code
/* CSS */
color: #2c313c;
background-color: #2c313c;
/* Tailwind (arbitrary) */
class="text-[#2c313c] bg-[#2c313c]"
/* SCSS */
$brand: #2c313c;
/* SwiftUI */
Color(red: 0.173, green: 0.192, blue: 0.235)
/* Android */
Color.parseColor("#2c313c")Accessibility — WCAG contrast
Aa
#2c313c on white: 13.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2c313c on black: 1.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red17.3%
Green19.2%
Blue23.5%
CMYK percentages
Cyan26.7%
Magenta18.3%
Yellow0.0%
Key (black)76.5%
Color previews
#2c313c text on a black background
contrast 1.61:1
Card sample
#2c313c text on a white background
contrast 13.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2c313c;
Background color
Panel with #2c313c background
background-color: #2c313c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2c313c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(44, 49, 60, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 49, 60, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c313c; background: linear-gradient(135deg, #2c313c, #322C3C);