#08221F#08221F

#08221F is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.1% C 0.032 H 184.9°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#08221F
RGBrgb(8, 34, 31)
HSLhsl(173, 62%, 8%)
HSVhsv(173, 76%, 13%)
CMYKcmyk(76.5%, 0%, 8.8%, 86.7%)
CIE-LABlab(11.24, -10.87, -0.96)
CIE-LCHlch(11.24, 10.91, 185.04°)
OKLaboklab(23.08% -0.0321 -0.0028)
OKLCHoklch(23.08% 0.032 184.9)
XYZxyz(0.9194, 1.2945, 1.4975)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08221F #22080B
analogous
#082212 #08221F #081822
triadic
#08221F #1F0822 #221F08
tetradic
#08221F #120822 #22080B #182208
square
#08221F #120822 #22080B #182208
split-complementary
#08221F #220818 #221208
monochromatic
#061917 #061917 #08221F #14544C #1F8579

Accessibility & contrast

On white

16.68
#08221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#08221F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08221F
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08221F#FFFFFF#000000##FFFFFF
##08221F1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20201F
Deuteranopia (green-blind)
#1C1D1F
Tritanopia (blue-blind)
#002321
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #08221f;
/* rgb */ color: rgb(8, 34, 31);
/* oklch */ color: oklch(23.1% 0.032 184.9);
Tailwind
colors: {
  custom: {
    50: '#4b5d5a',
    500: '#08221f',
    950: '#000000',
  },
}
SCSS
$custom: #08221f;
$custom-light: #4b5d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08221f",
  "rgb": {
    "r": 8,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 173.077,
    "s": 61.905,
    "l": 8.235
  },
  "oklch": {
    "l": 0.23081,
    "c": 0.03226,
    "h": 184.9
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#08221F
secondary
#60262D
accent
#4356E5
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #08221F

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

Preview Lab → · Contrast checker → · Palette generator →

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