#052c21
a deep, electric cyan · cool · closest name: darkslategray
RGB
5, 44, 33
HSL
163°, 80%, 10%
CMYK
89, 0, 25, 83
Luminance
0.0194
Every format
| HEX | #052c21 |
| RGB | rgb(5, 44, 33) |
| HSL | hsl(163, 80%, 10%) |
| CMYK | cmyk(89%, 0%, 25%, 83%) |
| LAB | lab(15.2 -16.8 3.3) |
| LCH | lch(15.2 17.1 168.8) |
| OKLCH | oklch(0.263 0.048 169.8) |
Copy-ready code
/* CSS */
color: #052c21;
background-color: #052c21;
/* Tailwind (arbitrary) */
class="text-[#052c21] bg-[#052c21]"
/* SCSS */
$brand: #052c21;
/* SwiftUI */
Color(red: 0.020, green: 0.173, blue: 0.129)
/* Android */
Color.parseColor("#052c21")Accessibility — WCAG contrast
Aa
#052c21 on white: 15.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#052c21 on black: 1.39:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.0%
Green17.3%
Blue12.9%
CMYK percentages
Cyan88.6%
Magenta0.0%
Yellow25.0%
Key (black)82.7%
Color previews
#052c21 text on a black background
contrast 1.39:1
Card sample
#052c21 text on a white background
contrast 15.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #052c21;
Background color
Panel with #052c21 background
background-color: #052c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #052c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(5, 44, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 44, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #052c21; background: linear-gradient(135deg, #052c21, #051D2C);