#08211F#08211F

#08211F is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.8% C 0.031 H 188.1°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#08211F
RGBrgb(8, 33, 31)
HSLhsl(175, 61%, 8%)
HSVhsv(175, 76%, 13%)
CMYKcmyk(75.8%, 0%, 6.1%, 87.1%)
CIE-LABlab(10.84, -10.24, -1.55)
CIE-LCHlch(10.84, 10.36, 188.60°)
OKLaboklab(22.76% -0.0307 -0.0043)
OKLCHoklch(22.76% 0.031 188.1)
XYZxyz(0.8912, 1.2382, 1.4881)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08211F #21080A
analogous
#082112 #08211F #081621
triadic
#08211F #1F0821 #211F08
tetradic
#08211F #120821 #21080A #162108
square
#08211F #120821 #21080A #162108
split-complementary
#08211F #210816 #211208
monochromatic
#061917 #061917 #08211F #14524D #20847C

Accessibility & contrast

On white

16.83
#08211F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#08211F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08211F
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08211F#FFFFFF#000000##FFFFFF
##08211F1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F1F
Deuteranopia (green-blind)
#1B1C1F
Tritanopia (blue-blind)
#002220
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #08211f;
/* rgb */ color: rgb(8, 33, 31);
/* oklch */ color: oklch(22.8% 0.031 188.1);
Tailwind
colors: {
  custom: {
    50: '#4a5c5a',
    500: '#08211f',
    950: '#000000',
  },
}
SCSS
$custom: #08211f;
$custom-light: #4a5c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08211f",
  "rgb": {
    "r": 8,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 175.2,
    "s": 60.976,
    "l": 8.039
  },
  "oklch": {
    "l": 0.22756,
    "c": 0.03101,
    "h": 188.1
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#08211F
secondary
#5F262B
accent
#4451E4
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #08211F

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

Preview Lab → · Contrast checker → · Palette generator →

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