#021F2F#021F2F
#021F2F is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.7% C 0.046 H 236.8°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).
Color values
| HEX | #021F2F |
|---|---|
| RGB | rgb(2, 31, 47) |
| HSL | hsl(201, 92%, 10%) |
| HSV | hsv(201, 96%, 18%) |
| CMYK | cmyk(95.7%, 34%, 0%, 81.6%) |
| CIE-LAB | lab(10.54, -3.84, -13.73) |
| CIE-LCH | lch(10.54, 14.26, 254.39°) |
| OKLab | oklab(22.7% -0.0255 -0.0389) |
| OKLCH | oklch(22.7% 0.046 236.8) |
| XYZ | xyz(1.0279, 1.1980, 2.8658) |
| Luminance | 0.0120 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 5.78
Dark Blue Grey
#1F3B4D
ΔE00 8.74
Gunmetal
#2A3439
ΔE00 9.47
Navy Blue
#1B2A4A
ΔE00 10.52
Marine
#042E60
ΔE00 10.84
Almost Black
#070D0D
ΔE00 10.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#021F2F #2F1202
analogous
#022F29 #021F2F #02092F
triadic
#021F2F #2F021F #1F2F02
tetradic
#021F2F #29022F #2F1202 #092F02
square
#021F2F #29022F #2F1202 #092F02
split-complementary
#021F2F #2F0209 #2F2902
monochromatic
#01131D #01131D #021F2F #04466A #076CA4
Accessibility & contrast
On white
16.94
#021F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.24
#021F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #021F2F
16.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##021F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##021F2F | 1.00 | 16.94 | 1.24 | 16.94 |
| #FFFFFF | 16.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#111B2F
Tritanopia (blue-blind)
#002325
Achromatopsia (no color)
#1D1D1D
Design tokens & code
CSS
--color: #021f2f; /* rgb */ color: rgb(2, 31, 47); /* oklch */ color: oklch(22.7% 0.046 236.8);
Tailwind
colors: {
custom: {
50: '#4a5a67',
500: '#021f2f',
950: '#000000',
},
}SCSS
$custom: #021f2f; $custom-light: #4a5a67; $custom-dark: #000000;
JSON
{
"hex": "#021f2f",
"rgb": {
"r": 2,
"g": 31,
"b": 47
},
"hsl": {
"h": 201.333,
"s": 91.837,
"l": 9.608
},
"oklch": {
"l": 0.22696,
"c": 0.04647,
"h": 236.8
},
"luminance": 0.01198
}Semantic roles & 50–950 ramp
primary
#021F2F
secondary
#743919
accent
#7529FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A