#080808#080808

#080808 is a very dark, near-neutral grey. Relative luminance 0.002; OKLCH L 13.4% C 0.000 H 0.0°. Best body text is #FFFFFF at 20.03:1 contrast (WCAG AA passes).

Color values

HEX#080808
RGBrgb(8, 8, 8)
HSLhsl(0, 0%, 3%)
HSVhsv(0, 0%, 3%)
CMYKcmyk(0%, 0%, 0%, 96.9%)
CIE-LABlab(2.19, 0.00, -0.00)
CIE-LCHlch(2.19, 0.00, 335.56°)
OKLaboklab(13.44% 0 0)
OKLCHoklch(13.44% 0 0)
XYZxyz(0.2308, 0.2428, 0.2644)
Luminance0.0024 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080808 #080808
analogous
#080808 #080808 #080808
triadic
#080808 #080808 #080808
tetradic
#080808 #080808 #080808 #080808
square
#080808 #080808 #080808 #080808
split-complementary
#080808 #080808 #080808
monochromatic
#0F0F0F #0F0F0F #0F0F0F #272727 #454545

Accessibility & contrast

On white

20.03
#080808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#080808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080808
20.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080808#FFFFFF#000000##FFFFFF
##0808081.0020.031.0520.03
#FFFFFF20.031.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080808
Deuteranopia (green-blind)
#080808
Tritanopia (blue-blind)
#080808
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #080808;
/* rgb */ color: rgb(8, 8, 8);
/* oklch */ color: oklch(13.4% 0.000 0.0);
Tailwind
colors: {
  custom: {
    50: '#4a4a4a',
    500: '#080808',
    950: '#000000',
  },
}
SCSS
$custom: #080808;
$custom-light: #4a4a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#080808",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 8
  },
  "hsl": {
    "h": 0,
    "s": 0,
    "l": 3.137
  },
  "oklch": {
    "l": 0.13441,
    "c": 0,
    "h": 0
  },
  "luminance": 0.00243
}

Semantic roles & 50–950 ramp

primary
#080808
secondary
#363636
accent
#A9A97E
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010101
muted
#777777

Preview Lab

Preview with #080808

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#080808 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva