#081831#081831
#081831 is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.1% C 0.054 H 258.9°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).
Color values
| HEX | #081831 |
|---|---|
| RGB | rgb(8, 24, 49) |
| HSL | hsl(217, 72%, 11%) |
| HSV | hsv(217, 84%, 19%) |
| CMYK | cmyk(83.7%, 51%, 0%, 80.8%) |
| CIE-LAB | lab(8.36, 3.85, -18.62) |
| CIE-LCH | lch(8.36, 19.01, 281.68°) |
| OKLab | oklab(21.12% -0.0104 -0.0532) |
| OKLCH | oklch(21.12% 0.054 258.9) |
| XYZ | xyz(0.9810, 0.9265, 3.0323) |
| Luminance | 0.0093 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.08
Navy Blue
#1B2A4A
ΔE00 6.05
Dark Navy Blue
#00022E
ΔE00 6.52
Midnight
#03012D
ΔE00 6.97
Dark
#1B2431
ΔE00 7.20
Dark Navy
#000435
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#081831 #312108
analogous
#082C31 #081831 #0C0831
triadic
#081831 #310818 #183108
tetradic
#081831 #31082C #312108 #08310C
square
#081831 #31082C #312108 #08310C
split-complementary
#081831 #310C08 #2C3108
monochromatic
#040D1A #040D1A #081831 #113266 #194C9A
Accessibility & contrast
On white
17.72
#081831 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.19
#081831 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #081831
17.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##081831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##081831 | 1.00 | 17.72 | 1.19 | 17.72 |
| #FFFFFF | 17.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C1A32
Deuteranopia (green-blind)
#061630
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#181818
Design tokens & code
CSS
--color: #081831; /* rgb */ color: rgb(8, 24, 49); /* oklch */ color: oklch(21.1% 0.054 258.9);
Tailwind
colors: {
custom: {
50: '#4d5469',
500: '#081831',
950: '#000000',
},
}SCSS
$custom: #081831; $custom-light: #4d5469; $custom-dark: #000000;
JSON
{
"hex": "#081831",
"rgb": {
"r": 8,
"g": 24,
"b": 49
},
"hsl": {
"h": 216.585,
"s": 71.93,
"l": 11.176
},
"oklch": {
"l": 0.21117,
"c": 0.05419,
"h": 258.9
},
"luminance": 0.00927
}Semantic roles & 50–950 ramp
primary
#081831
secondary
#705325
accent
#A839EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A