#021F31#021F31
#021F31 is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.8% C 0.049 H 239.9°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).
Color values
| HEX | #021F31 |
|---|---|
| RGB | rgb(2, 31, 49) |
| HSL | hsl(203, 92%, 10%) |
| HSV | hsv(203, 96%, 19%) |
| CMYK | cmyk(95.9%, 36.7%, 0%, 80.8%) |
| CIE-LAB | lab(10.66, -2.90, -14.99) |
| CIE-LCH | lch(10.66, 15.27, 259.06°) |
| OKLab | oklab(22.83% -0.0246 -0.0425) |
| OKLCH | oklch(22.83% 0.049 239.9) |
| XYZ | xyz(1.0692, 1.2145, 3.0832) |
| Luminance | 0.0121 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 5.37
Dark Blue Grey
#1F3B4D
ΔE00 8.83
Navy Blue
#1B2A4A
ΔE00 9.34
Marine
#042E60
ΔE00 9.83
Gunmetal
#2A3439
ΔE00 9.97
Navy (survey)
#01153E
ΔE00 10.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#021F31 #311402
analogous
#02312C #021F31 #020731
triadic
#021F31 #31021F #1F3102
tetradic
#021F31 #2C0231 #311402 #073102
square
#021F31 #2C0231 #311402 #073102
split-complementary
#021F31 #310207 #312C02
monochromatic
#01131D #01131D #021F31 #04446C #0769A7
Accessibility & contrast
On white
16.89
#021F31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.24
#021F31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #021F31
16.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##021F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##021F31 | 1.00 | 16.89 | 1.24 | 16.89 |
| #FFFFFF | 16.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#161F32
Deuteranopia (green-blind)
#101B31
Tritanopia (blue-blind)
#002425
Achromatopsia (no color)
#1D1D1D
Design tokens & code
CSS
--color: #021f31; /* rgb */ color: rgb(2, 31, 49); /* oklch */ color: oklch(22.8% 0.049 239.9);
Tailwind
colors: {
custom: {
50: '#4b5a69',
500: '#021f31',
950: '#000000',
},
}SCSS
$custom: #021f31; $custom-light: #4b5a69; $custom-dark: #000000;
JSON
{
"hex": "#021f31",
"rgb": {
"r": 2,
"g": 31,
"b": 49
},
"hsl": {
"h": 202.979,
"s": 92.157,
"l": 10
},
"oklch": {
"l": 0.22832,
"c": 0.04916,
"h": 239.9
},
"luminance": 0.01215
}Semantic roles & 50–950 ramp
primary
#021F31
secondary
#753D19
accent
#7B29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A