#02181F#02181F
#02181F is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.5% C 0.032 H 220.9°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).
Color values
| HEX | #02181F |
|---|---|
| RGB | rgb(2, 24, 31) |
| HSL | hsl(194, 88%, 6%) |
| HSV | hsv(194, 94%, 12%) |
| CMYK | cmyk(93.5%, 22.6%, 0%, 87.8%) |
| CIE-LAB | lab(6.91, -5.25, -7.49) |
| CIE-LCH | lch(6.91, 9.15, 234.96°) |
| OKLab | oklab(19.45% -0.0245 -0.0212) |
| OKLCH | oklch(19.45% 0.032 220.9) |
| XYZ | xyz(0.5989, 0.7650, 1.4122) |
| Luminance | 0.0076 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Almost Black
#070D0D
ΔE00 7.20
Dark
#1B2431
ΔE00 8.13
Black
#000000
ΔE00 9.64
Gunmetal
#2A3439
ΔE00 9.76
Dark Blue Grey
#1F3B4D
ΔE00 11.92
Dark Blue
#00035B
ΔE00 12.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#02181F #1F0902
analogous
#021F18 #02181F #020A1F
triadic
#02181F #1F0218 #181F02
tetradic
#02181F #18021F #1F0902 #0A1F02
square
#02181F #18021F #1F0902 #0A1F02
split-complementary
#02181F #1F020A #1F1802
monochromatic
#02161D #02161D #02181F #064558 #097192
Accessibility & contrast
On white
18.21
#02181F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.15
#02181F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #02181F
18.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##02181F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##02181F | 1.00 | 18.21 | 1.15 | 18.21 |
| #FFFFFF | 18.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#14171F
Deuteranopia (green-blind)
#0F141F
Tritanopia (blue-blind)
#001A1A
Achromatopsia (no color)
#151515
Design tokens & code
CSS
--color: #02181f; /* rgb */ color: rgb(2, 24, 31); /* oklch */ color: oklch(19.5% 0.032 220.9);
Tailwind
colors: {
custom: {
50: '#47545a',
500: '#02181f',
950: '#000000',
},
}SCSS
$custom: #02181f; $custom-light: #47545a; $custom-dark: #000000;
JSON
{
"hex": "#02181f",
"rgb": {
"r": 2,
"g": 24,
"b": 31
},
"hsl": {
"h": 194.483,
"s": 87.879,
"l": 6.471
},
"oklch": {
"l": 0.19453,
"c": 0.03243,
"h": 220.9
},
"luminance": 0.00765
}Semantic roles & 50–950 ramp
primary
#02181F
secondary
#652B18
accent
#5D2AFE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878