#08231F#08231F

#08231F is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.4% C 0.034 H 182.0°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#08231F
RGBrgb(8, 35, 31)
HSLhsl(171, 63%, 8%)
HSVhsv(171, 77%, 14%)
CMYKcmyk(77.1%, 0%, 11.4%, 86.3%)
CIE-LABlab(11.64, -11.48, -0.37)
CIE-LCHlch(11.64, 11.49, 181.84°)
OKLaboklab(23.41% -0.0336 -0.0012)
OKLCHoklch(23.41% 0.034 182)
XYZxyz(0.9484, 1.3525, 1.5071)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08231F #23080C
analogous
#082311 #08231F #081923
triadic
#08231F #1F0823 #231F08
tetradic
#08231F #110823 #23080C #192308
square
#08231F #110823 #23080C #192308
split-complementary
#08231F #230819 #231108
monochromatic
#061916 #061916 #08231F #13554B #1F8777

Accessibility & contrast

On white

16.53
#08231F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#08231F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08231F
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08231F#FFFFFF#000000##FFFFFF
##08231F1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21211F
Deuteranopia (green-blind)
#1D1E1F
Tritanopia (blue-blind)
#002422
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #08231f;
/* rgb */ color: rgb(8, 35, 31);
/* oklch */ color: oklch(23.4% 0.034 182.0);
Tailwind
colors: {
  custom: {
    50: '#4b5e5a',
    500: '#08231f',
    950: '#000000',
  },
}
SCSS
$custom: #08231f;
$custom-light: #4b5e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08231f",
  "rgb": {
    "r": 8,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 171.111,
    "s": 62.791,
    "l": 8.431
  },
  "oklch": {
    "l": 0.23406,
    "c": 0.0336,
    "h": 182
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#08231F
secondary
#61262F
accent
#425AE6
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #08231F

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

Preview Lab → · Contrast checker → · Palette generator →

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