#1c1f21
a deep, muted blue · cool · closest name: black
RGB
28, 31, 33
HSL
204°, 8%, 12%
CMYK
15, 6, 0, 87
Luminance
0.0134
Every format
| HEX | #1c1f21 |
| RGB | rgb(28, 31, 33) |
| HSL | hsl(204, 8%, 12%) |
| CMYK | cmyk(15%, 6%, 0%, 87%) |
| LAB | lab(11.5 -0.8 -1.8) |
| LCH | lch(11.5 2.0 245.2) |
| OKLCH | oklch(0.237 0.006 236.8) |
Copy-ready code
/* CSS */
color: #1c1f21;
background-color: #1c1f21;
/* Tailwind (arbitrary) */
class="text-[#1c1f21] bg-[#1c1f21]"
/* SCSS */
$brand: #1c1f21;
/* SwiftUI */
Color(red: 0.110, green: 0.122, blue: 0.129)
/* Android */
Color.parseColor("#1c1f21")Accessibility — WCAG contrast
Aa
#1c1f21 on white: 16.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1c1f21 on black: 1.27:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red11.0%
Green12.2%
Blue12.9%
CMYK percentages
Cyan15.2%
Magenta6.1%
Yellow0.0%
Key (black)87.1%
Color previews
#1c1f21 text on a black background
contrast 1.27:1
Card sample
#1c1f21 text on a white background
contrast 16.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1c1f21;
Background color
Panel with #1c1f21 background
background-color: #1c1f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1c1f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(28, 31, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(28, 31, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1c1f21; background: linear-gradient(135deg, #1c1f21, #1C1C21);