#08221B#08221B

#08221B is a very dark, muted teal. Relative luminance 0.013; OKLCH L 22.9% C 0.035 H 172.6°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#08221B
RGBrgb(8, 34, 27)
HSLhsl(164, 62%, 8%)
HSVhsv(164, 76%, 13%)
CMYKcmyk(76.5%, 0%, 20.6%, 86.7%)
CIE-LABlab(11.10, -12.21, 1.76)
CIE-LCHlch(11.10, 12.34, 171.80°)
OKLaboklab(22.92% -0.0346 0.0045)
OKLCHoklch(22.92% 0.035 172.6)
XYZxyz(0.8699, 1.2747, 1.2369)
Luminance0.0127 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08221B #22080F
analogous
#08220E #08221B #081C22
triadic
#08221B #1B0822 #221B08
tetradic
#08221B #0E0822 #22080F #1C2208
square
#08221B #0E0822 #22080F #1C2208
split-complementary
#08221B #22081C #220E08
monochromatic
#061914 #061914 #08221B #145442 #1F856A

Accessibility & contrast

On white

16.73
#08221B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#08221B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08221B
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08221B#FFFFFF#000000##FFFFFF
##08221B1.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F1B
Deuteranopia (green-blind)
#1D1D1B
Tritanopia (blue-blind)
#002220
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #08221b;
/* rgb */ color: rgb(8, 34, 27);
/* oklch */ color: oklch(22.9% 0.035 172.6);
Tailwind
colors: {
  custom: {
    50: '#4a5d57',
    500: '#08221b',
    950: '#000000',
  },
}
SCSS
$custom: #08221b;
$custom-light: #4a5d57;
$custom-dark: #000000;
JSON
{
  "hex": "#08221b",
  "rgb": {
    "r": 8,
    "g": 34,
    "b": 27
  },
  "hsl": {
    "h": 163.846,
    "s": 61.905,
    "l": 8.235
  },
  "oklch": {
    "l": 0.22921,
    "c": 0.03486,
    "h": 172.6
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#08221B
secondary
#602636
accent
#436EE5
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #08221B

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

Preview Lab → · Contrast checker → · Palette generator →

#08221B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva