#06402B#06402B

#06402B is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.0% C 0.068 H 162.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#06402B
RGBrgb(6, 64, 43)
HSLhsl(158, 83%, 14%)
HSVhsv(158, 91%, 25%)
CMYKcmyk(90.6%, 0%, 32.8%, 74.9%)
CIE-LABlab(23.27, -23.72, 7.91)
CIE-LCHlch(23.27, 25.00, 161.56°)
OKLaboklab(33.03% -0.0648 0.0201)
OKLCHoklch(33.03% 0.068 162.8)
XYZxyz(2.3443, 3.8796, 2.9103)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06402B #40061B
analogous
#06400E #06402B #063840
triadic
#06402B #2B0640 #402B06
tetradic
#06402B #0E0640 #40061B #384006
square
#06402B #0E0640 #40061B #384006
split-complementary
#06402B #400638 #400E06
monochromatic
#031C13 #031C13 #06402B #0B7851 #10B076

Accessibility & contrast

On white

11.82
#06402B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06402B
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06402B#FFFFFF#000000##FFFFFF
##06402B1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #06402b;
/* rgb */ color: rgb(6, 64, 43);
/* oklch */ color: oklch(33.0% 0.068 162.8);
Tailwind
colors: {
  custom: {
    50: '#527564',
    500: '#06402b',
    950: '#000000',
  },
}
SCSS
$custom: #06402b;
$custom-light: #527564;
$custom-dark: #000000;
JSON
{
  "hex": "#06402b",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 43
  },
  "hsl": {
    "h": 158.276,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33029,
    "c": 0.06782,
    "h": 162.8
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#06402B
secondary
#802244
accent
#2F78F9
background
#F4F7F5
surface
#E7EDEA
border
#C3C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #06402B

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

Preview Lab → · Contrast checker → · Palette generator →

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