#08211C#08211C

#08211C is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.6% C 0.033 H 178.0°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#08211C
RGBrgb(8, 33, 28)
HSLhsl(168, 61%, 8%)
HSVhsv(168, 76%, 13%)
CMYKcmyk(75.8%, 0%, 15.2%, 87.1%)
CIE-LABlab(10.73, -11.28, 0.49)
CIE-LCHlch(10.73, 11.29, 177.50°)
OKLaboklab(22.63% -0.0325 0.0011)
OKLCHoklch(22.63% 0.033 178)
XYZxyz(0.8535, 1.2231, 1.2895)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08211C #21080D
analogous
#08210F #08211C #081921
triadic
#08211C #1C0821 #211C08
tetradic
#08211C #0F0821 #21080D #192108
square
#08211C #0F0821 #21080D #192108
split-complementary
#08211C #210819 #210F08
monochromatic
#061915 #061915 #08211C #145246 #208470

Accessibility & contrast

On white

16.87
#08211C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#08211C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08211C
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08211C#FFFFFF#000000##FFFFFF
##08211C1.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F1C
Deuteranopia (green-blind)
#1C1C1C
Tritanopia (blue-blind)
#00221F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #08211c;
/* rgb */ color: rgb(8, 33, 28);
/* oklch */ color: oklch(22.6% 0.033 178.0);
Tailwind
colors: {
  custom: {
    50: '#4a5c57',
    500: '#08211c',
    950: '#000000',
  },
}
SCSS
$custom: #08211c;
$custom-light: #4a5c57;
$custom-dark: #000000;
JSON
{
  "hex": "#08211c",
  "rgb": {
    "r": 8,
    "g": 33,
    "b": 28
  },
  "hsl": {
    "h": 168,
    "s": 60.976,
    "l": 8.039
  },
  "oklch": {
    "l": 0.22631,
    "c": 0.03252,
    "h": 178
  },
  "luminance": 0.01223
}

Semantic roles & 50–950 ramp

primary
#08211C
secondary
#5F2631
accent
#4464E4
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #08211C

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

Preview Lab → · Contrast checker → · Palette generator →

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