#08402B#08402B

#08402B is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.1% C 0.067 H 162.4°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#08402B
RGBrgb(8, 64, 43)
HSLhsl(158, 78%, 14%)
HSVhsv(158, 88%, 25%)
CMYKcmyk(87.5%, 0%, 32.8%, 74.9%)
CIE-LABlab(23.31, -23.39, 7.97)
CIE-LCHlch(23.31, 24.71, 161.18°)
OKLaboklab(33.08% -0.0639 0.0203)
OKLCHoklch(33.08% 0.067 162.4)
XYZxyz(2.3693, 3.8925, 2.9115)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08402B #40081D
analogous
#08400F #08402B #083940
triadic
#08402B #2B0840 #402B08
tetradic
#08402B #0F0840 #40081D #394008
square
#08402B #0F0840 #40081D #394008
split-complementary
#08402B #400839 #400F08
monochromatic
#031B12 #031B12 #08402B #0F7650 #16AD74

Accessibility & contrast

On white

11.81
#08402B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#08402B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08402B
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08402B#FFFFFF#000000##FFFFFF
##08402B1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A2A
Deuteranopia (green-blind)
#38362C
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #08402b;
/* rgb */ color: rgb(8, 64, 43);
/* oklch */ color: oklch(33.1% 0.067 162.4);
Tailwind
colors: {
  custom: {
    50: '#527564',
    500: '#08402b',
    950: '#000000',
  },
}
SCSS
$custom: #08402b;
$custom-light: #527564;
$custom-dark: #000000;
JSON
{
  "hex": "#08402b",
  "rgb": {
    "r": 8,
    "g": 64,
    "b": 43
  },
  "hsl": {
    "h": 157.5,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33077,
    "c": 0.06703,
    "h": 162.4
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#08402B
secondary
#7E2547
accent
#347CF4
background
#F4F7F5
surface
#E8EDEA
border
#C4C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #08402B

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

Preview Lab → · Contrast checker → · Palette generator →

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