#202028
a deep, muted blue · warm · closest name: black
RGB
32, 32, 40
HSL
240°, 11%, 14%
CMYK
20, 20, 0, 84
Luminance
0.0149
Every format
| HEX | #202028 |
| RGB | rgb(32, 32, 40) |
| HSL | hsl(240, 11%, 14%) |
| CMYK | cmyk(20%, 20%, 0%, 84%) |
| LAB | lab(12.6 2.1 -5.4) |
| LCH | lch(12.6 5.8 291.9) |
| OKLCH | oklch(0.247 0.015 285.2) |
Copy-ready code
/* CSS */
color: #202028;
background-color: #202028;
/* Tailwind (arbitrary) */
class="text-[#202028] bg-[#202028]"
/* SCSS */
$brand: #202028;
/* SwiftUI */
Color(red: 0.125, green: 0.125, blue: 0.157)
/* Android */
Color.parseColor("#202028")Accessibility — WCAG contrast
Aa
#202028 on white: 16.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#202028 on black: 1.30:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.5%
Green12.5%
Blue15.7%
CMYK percentages
Cyan20.0%
Magenta20.0%
Yellow0.0%
Key (black)84.3%
Color previews
#202028 text on a black background
contrast 1.30:1
Card sample
#202028 text on a white background
contrast 16.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #202028;
Background color
Panel with #202028 background
background-color: #202028;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #202028;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(32, 32, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 32, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #202028; background: linear-gradient(135deg, #202028, #252028);