#020808#020808

#020808 is a very dark, near-neutral teal. Relative luminance 0.002; OKLCH L 12.5% C 0.014 H 195.5°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#020808
RGBrgb(2, 8, 8)
HSLhsl(180, 60%, 2%)
HSVhsv(180, 75%, 3%)
CMYKcmyk(75%, 0%, 0%, 96.9%)
CIE-LABlab(1.84, -1.57, -0.55)
CIE-LCHlch(1.84, 1.66, 199.42°)
OKLaboklab(12.52% -0.0139 -0.0038)
OKLCHoklch(12.52% 0.014 195.5)
XYZxyz(0.1557, 0.2041, 0.2609)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020808 #080202
analogous
#020805 #020808 #020508
triadic
#020808 #080208 #080802
tetradic
#020808 #050208 #080202 #050802
square
#020808 #050208 #080202 #050802
split-complementary
#020808 #080205 #080502
monochromatic
#061818 #061818 #061818 #0E3939 #1A6A6A

Accessibility & contrast

On white

20.18
#020808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#020808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020808
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020808#FFFFFF#000000##FFFFFF
##0208081.0020.181.0420.18
#FFFFFF20.181.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070708
Deuteranopia (green-blind)
#060608
Tritanopia (blue-blind)
#000808
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #020808;
/* rgb */ color: rgb(2, 8, 8);
/* oklch */ color: oklch(12.5% 0.014 195.5);
Tailwind
colors: {
  custom: {
    50: '#474a4a',
    500: '#020808',
    950: '#000000',
  },
}
SCSS
$custom: #020808;
$custom-light: #474a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#020808",
  "rgb": {
    "r": 2,
    "g": 8,
    "b": 8
  },
  "hsl": {
    "h": 180,
    "s": 60,
    "l": 1.961
  },
  "oklch": {
    "l": 0.12516,
    "c": 0.01443,
    "h": 195.5
  },
  "luminance": 0.00204
}

Semantic roles & 50–950 ramp

primary
#020808
secondary
#481E1E
accent
#4545E3
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #020808

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

Preview Lab → · Contrast checker → · Palette generator →

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