#020A1F#020A1F
#020A1F is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.0% C 0.048 H 261.0°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).
Color values
| HEX | #020A1F |
|---|---|
| RGB | rgb(2, 10, 31) |
| HSL | hsl(223, 88%, 6%) |
| HSV | hsv(223, 94%, 12%) |
| CMYK | cmyk(93.5%, 67.7%, 0%, 87.8%) |
| CIE-LAB | lab(2.97, 2.79, -13.46) |
| CIE-LCH | lch(2.97, 13.75, 281.72°) |
| OKLab | oklab(15.04% -0.0075 -0.0473) |
| OKLCH | oklch(15.04% 0.048 261) |
| XYZ | xyz(0.3808, 0.3289, 1.3395) |
| Luminance | 0.0033 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 7.81
Dark Navy Blue
#00022E
ΔE00 7.93
Midnight
#03012D
ΔE00 8.18
Navy (survey)
#01153E
ΔE00 8.63
Dark Navy
#000435
ΔE00 9.18
Very Dark Blue
#000133
ΔE00 9.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#020A1F #1F1702
analogous
#02191F #020A1F #09021F
triadic
#020A1F #1F020A #0A1F02
tetradic
#020A1F #1F0219 #1F1702 #021F09
square
#020A1F #1F0219 #1F1702 #021F09
split-complementary
#020A1F #1F0902 #191F02
monochromatic
#02091D #02091D #020A1F #061D58 #092F92
Accessibility & contrast
On white
19.70
#020A1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.07
#020A1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #020A1F
19.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##020A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##020A1F | 1.00 | 19.70 | 1.07 | 19.70 |
| #FFFFFF | 19.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#020C20
Deuteranopia (green-blind)
#00091F
Tritanopia (blue-blind)
#000F12
Achromatopsia (no color)
#0B0B0B
Design tokens & code
CSS
--color: #020a1f; /* rgb */ color: rgb(2, 10, 31); /* oklch */ color: oklch(15.0% 0.048 261.0);
Tailwind
colors: {
custom: {
50: '#474b5a',
500: '#020a1f',
950: '#000000',
},
}SCSS
$custom: #020a1f; $custom-light: #474b5a; $custom-dark: #000000;
JSON
{
"hex": "#020a1f",
"rgb": {
"r": 2,
"g": 10,
"b": 31
},
"hsl": {
"h": 223.448,
"s": 87.879,
"l": 6.471
},
"oklch": {
"l": 0.15039,
"c": 0.04785,
"h": 261
},
"luminance": 0.00329
}Semantic roles & 50–950 ramp
primary
#020A1F
secondary
#655018
accent
#C32AFE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778