#408C8F#408C8F

#408C8F is a mid, moderate teal. Relative luminance 0.218; OKLCH L 59.4% C 0.075 H 198.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#408C8F
RGBrgb(64, 140, 143)
HSLhsl(182, 38%, 41%)
HSVhsv(182, 55%, 56%)
CMYKcmyk(55.2%, 2.1%, 0%, 43.9%)
CIE-LABlab(53.84, -22.42, -8.74)
CIE-LCHlch(53.84, 24.06, 201.30°)
OKLaboklab(59.36% -0.0709 -0.0242)
OKLCHoklch(59.36% 0.075 198.8)
XYZxyz(16.4483, 21.8278, 29.3276)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C8F #8F4340
analogous
#408F6A #408C8F #40658F
triadic
#408C8F #8F408C #8C8F40
tetradic
#408C8F #6A408F #8F4340 #658F40
square
#408C8F #6A408F #8F4340 #658F40
split-complementary
#408C8F #8F4065 #8F6A40
monochromatic
#1A393A #2D6365 #408C8F #58B1B4 #82C5C7

Accessibility & contrast

On white

3.91
#408C8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#408C8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C8F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C8F#FFFFFF#000000##000000
##408C8F1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83868F
Deuteranopia (green-blind)
#767D90
Tritanopia (blue-blind)
#00908D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #408c8f;
/* rgb */ color: rgb(64, 140, 143);
/* oklch */ color: oklch(59.4% 0.075 198.8);
Tailwind
colors: {
  custom: {
    50: '#7daeaf',
    500: '#408c8f',
    950: '#000000',
  },
}
SCSS
$custom: #408c8f;
$custom-light: #7daeaf;
$custom-dark: #000000;
JSON
{
  "hex": "#408c8f",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 143
  },
  "hsl": {
    "h": 182.278,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.59363,
    "c": 0.07488,
    "h": 198.8
  },
  "luminance": 0.21829
}

Semantic roles & 50–950 ramp

primary
#408C8F
secondary
#B27B79
accent
#5E5ACE
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #408C8F

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

Preview Lab → · Contrast checker → · Palette generator →

#408C8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva