#0f2821
a deep, vivid cyan · cool · closest name: darkslategray
RGB
15, 40, 33
HSL
163°, 46%, 11%
CMYK
63, 0, 18, 84
Luminance
0.0173
Every format
| HEX | #0f2821 |
| RGB | rgb(15, 40, 33) |
| HSL | hsl(163, 46%, 11%) |
| CMYK | cmyk(63%, 0%, 18%, 84%) |
| LAB | lab(14.0 -11.9 1.6) |
| LCH | lch(14.0 12.0 172.1) |
| OKLCH | oklch(0.254 0.034 172.9) |
Copy-ready code
/* CSS */
color: #0f2821;
background-color: #0f2821;
/* Tailwind (arbitrary) */
class="text-[#0f2821] bg-[#0f2821]"
/* SCSS */
$brand: #0f2821;
/* SwiftUI */
Color(red: 0.059, green: 0.157, blue: 0.129)
/* Android */
Color.parseColor("#0f2821")Accessibility — WCAG contrast
Aa
#0f2821 on white: 15.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f2821 on black: 1.35:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green15.7%
Blue12.9%
CMYK percentages
Cyan62.5%
Magenta0.0%
Yellow17.5%
Key (black)84.3%
Color previews
#0f2821 text on a black background
contrast 1.35:1
Card sample
#0f2821 text on a white background
contrast 15.60:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f2821;
Background color
Panel with #0f2821 background
background-color: #0f2821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f2821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 40, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 40, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f2821; background: linear-gradient(135deg, #0f2821, #0F1E28);