#080C2F#080C2F
#080C2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.069 H 272.1°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).
Color values
| HEX | #080C2F |
|---|---|
| RGB | rgb(8, 12, 47) |
| HSL | hsl(234, 71%, 11%) |
| HSV | hsv(234, 83%, 18%) |
| CMYK | cmyk(83%, 74.5%, 0%, 81.6%) |
| CIE-LAB | lab(4.69, 10.26, -23.00) |
| CIE-LCH | lch(4.69, 25.18, 294.05°) |
| OKLab | oklab(17.83% 0.0025 -0.0693) |
| OKLCH | oklch(17.83% 0.069 272.1) |
| XYZ | xyz(0.7445, 0.5197, 2.7499) |
| Luminance | 0.0052 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 2.11
Dark Navy Blue
#00022E
ΔE00 2.21
Dark Navy
#000435
ΔE00 3.45
Very Dark Blue
#000133
ΔE00 3.51
Navy (survey)
#01153E
ΔE00 3.74
Midnight Blue (survey)
#020035
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#080C2F #2F2B08
analogous
#081F2F #080C2F #17082F
triadic
#080C2F #2F080C #0C2F08
tetradic
#080C2F #2F081F #2F2B08 #082F17
square
#080C2F #2F081F #2F2B08 #082F17
split-complementary
#080C2F #2F1708 #1F2F08
monochromatic
#04071A #04071A #080C2F #111963 #1A2798
Accessibility & contrast
On white
19.02
#080C2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.10
#080C2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #080C2F
19.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##080C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##080C2F | 1.00 | 19.02 | 1.10 | 19.02 |
| #FFFFFF | 19.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#101010
Design tokens & code
CSS
--color: #080c2f; /* rgb */ color: rgb(8, 12, 47); /* oklch */ color: oklch(17.8% 0.069 272.1);
Tailwind
colors: {
custom: {
50: '#4c4c68',
500: '#080c2f',
950: '#000000',
},
}SCSS
$custom: #080c2f; $custom-light: #4c4c68; $custom-dark: #000000;
JSON
{
"hex": "#080c2f",
"rgb": {
"r": 8,
"g": 12,
"b": 47
},
"hsl": {
"h": 233.846,
"s": 70.909,
"l": 10.784
},
"oklch": {
"l": 0.17826,
"c": 0.06939,
"h": 272.1
},
"luminance": 0.0052
}Semantic roles & 50–950 ramp
primary
#080C2F
secondary
#6E6625
accent
#DB3AEE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A