#02071B#02071B
#02071B is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.7% C 0.046 H 264.2°. Best body text is #FFFFFF at 20.02:1 contrast (WCAG AA passes).
Color values
| HEX | #02071B |
|---|---|
| RGB | rgb(2, 7, 27) |
| HSL | hsl(228, 86%, 6%) |
| HSV | hsv(228, 93%, 11%) |
| CMYK | cmyk(92.6%, 74.1%, 0%, 89.4%) |
| CIE-LAB | lab(2.20, 2.74, -11.43) |
| CIE-LCH | lch(2.20, 11.75, 283.48°) |
| OKLab | oklab(13.67% -0.0046 -0.0458) |
| OKLCH | oklch(13.67% 0.046 264.2) |
| XYZ | xyz(0.2988, 0.2440, 1.0680) |
| Luminance | 0.0024 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 8.01
Dark Navy Blue
#00022E
ΔE00 9.10
Midnight
#03012D
ΔE00 9.25
Black
#000000
ΔE00 9.62
Navy (survey)
#01153E
ΔE00 10.08
Almost Black
#070D0D
ΔE00 10.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#02071B #1B1602
analogous
#02131B #02071B #09021B
triadic
#02071B #1B0207 #071B02
tetradic
#02071B #1B0213 #1B1602 #021B09
square
#02071B #1B0213 #1B1602 #021B09
split-complementary
#02071B #1B0902 #131B02
monochromatic
#02071C #02071C #02071C #061654 #0A258D
Accessibility & contrast
On white
20.02
#02071B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.05
#02071B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #02071B
20.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##02071B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##02071B | 1.00 | 20.02 | 1.05 | 20.02 |
| #FFFFFF | 20.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 20.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00091C
Deuteranopia (green-blind)
#00071B
Tritanopia (blue-blind)
#000C0F
Achromatopsia (no color)
#080808
Design tokens & code
CSS
--color: #02071b; /* rgb */ color: rgb(2, 7, 27); /* oklch */ color: oklch(13.7% 0.046 264.2);
Tailwind
colors: {
custom: {
50: '#474a57',
500: '#02071b',
950: '#000000',
},
}SCSS
$custom: #02071b; $custom-light: #474a57; $custom-dark: #000000;
JSON
{
"hex": "#02071b",
"rgb": {
"r": 2,
"g": 7,
"b": 27
},
"hsl": {
"h": 228,
"s": 86.207,
"l": 5.686
},
"oklch": {
"l": 0.13672,
"c": 0.04599,
"h": 264.2
},
"luminance": 0.00244
}Semantic roles & 50–950 ramp
primary
#02071B
secondary
#615218
accent
#D32BFC
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778