#1b5947
a deep, vivid cyan · cool · closest name: darkslategray
RGB
27, 89, 71
HSL
163°, 53%, 23%
CMYK
70, 0, 20, 65
Luminance
0.0783
Every format
| HEX | #1b5947 |
| RGB | rgb(27, 89, 71) |
| HSL | hsl(163, 53%, 23%) |
| CMYK | cmyk(70%, 0%, 20%, 65%) |
| LAB | lab(33.6 -24.6 4.7) |
| LCH | lch(33.6 25.0 169.2) |
| OKLCH | oklch(0.419 0.070 170.1) |
Copy-ready code
/* CSS */
color: #1b5947;
background-color: #1b5947;
/* Tailwind (arbitrary) */
class="text-[#1b5947] bg-[#1b5947]"
/* SCSS */
$brand: #1b5947;
/* SwiftUI */
Color(red: 0.106, green: 0.349, blue: 0.278)
/* Android */
Color.parseColor("#1b5947")Accessibility — WCAG contrast
Aa
#1b5947 on white: 8.18:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1b5947 on black: 2.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red10.6%
Green34.9%
Blue27.8%
CMYK percentages
Cyan69.7%
Magenta0.0%
Yellow20.2%
Key (black)65.1%
Color previews
#1b5947 text on a black background
contrast 2.57:1
Card sample
#1b5947 text on a white background
contrast 8.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1b5947;
Background color
Panel with #1b5947 background
background-color: #1b5947;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1b5947;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(27, 89, 71, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 89, 71, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1b5947; background: linear-gradient(135deg, #1b5947, #1B4259);