#021A1F#021A1F
#021A1F is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.1% C 0.032 H 213.0°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).
Color values
| HEX | #021A1F |
|---|---|
| RGB | rgb(2, 26, 31) |
| HSL | hsl(190, 88%, 6%) |
| HSV | hsv(190, 94%, 12%) |
| CMYK | cmyk(93.5%, 16.1%, 0%, 87.8%) |
| CIE-LAB | lab(7.68, -6.83, -6.32) |
| CIE-LCH | lch(7.68, 9.30, 222.75°) |
| OKLab | oklab(20.11% -0.0271 -0.0176) |
| OKLCH | oklch(20.11% 0.032 213) |
| XYZ | xyz(0.6416, 0.8505, 1.4264) |
| Luminance | 0.0085 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Almost Black
#070D0D
ΔE00 7.80
Dark
#1B2431
ΔE00 9.56
Gunmetal
#2A3439
ΔE00 9.80
Black
#000000
ΔE00 10.50
Dark Blue Grey
#1F3B4D
ΔE00 12.22
Charcoal (survey)
#343837
ΔE00 12.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#021A1F #1F0702
analogous
#021F16 #021A1F #020C1F
triadic
#021A1F #1F021A #1A1F02
tetradic
#021A1F #16021F #1F0702 #0C1F02
square
#021A1F #16021F #1F0702 #0C1F02
split-complementary
#021A1F #1F020C #1F1602
monochromatic
#02181D #02181D #021A1F #064A58 #097A92
Accessibility & contrast
On white
17.95
#021A1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.17
#021A1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #021A1F
17.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##021A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##021A1F | 1.00 | 17.95 | 1.17 | 17.95 |
| #FFFFFF | 17.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#16191F
Deuteranopia (green-blind)
#12161F
Tritanopia (blue-blind)
#001C1C
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #021a1f; /* rgb */ color: rgb(2, 26, 31); /* oklch */ color: oklch(20.1% 0.032 213.0);
Tailwind
colors: {
custom: {
50: '#47565a',
500: '#021a1f',
950: '#000000',
},
}SCSS
$custom: #021a1f; $custom-light: #47565a; $custom-dark: #000000;
JSON
{
"hex": "#021a1f",
"rgb": {
"r": 2,
"g": 26,
"b": 31
},
"hsl": {
"h": 190.345,
"s": 87.879,
"l": 6.471
},
"oklch": {
"l": 0.20114,
"c": 0.03236,
"h": 213
},
"luminance": 0.00851
}Semantic roles & 50–950 ramp
primary
#021A1F
secondary
#652518
accent
#4E2AFE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878