#408E8F#408E8F

#408E8F is a mid, moderate teal. Relative luminance 0.224; OKLCH L 59.9% C 0.076 H 196.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#408E8F
RGBrgb(64, 142, 143)
HSLhsl(181, 38%, 41%)
HSVhsv(181, 55%, 56%)
CMYKcmyk(55.2%, 0.7%, 0%, 43.9%)
CIE-LABlab(54.47, -23.45, -7.81)
CIE-LCHlch(54.47, 24.72, 198.42°)
OKLaboklab(59.87% -0.0732 -0.0216)
OKLCHoklch(59.87% 0.076 196.4)
XYZxyz(16.7432, 22.4176, 29.4259)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E8F #8F4140
analogous
#408F68 #408E8F #40678F
triadic
#408E8F #8F408E #8E8F40
tetradic
#408E8F #68408F #8F4140 #678F40
square
#408E8F #68408F #8F4140 #678F40
split-complementary
#408E8F #8F4067 #8F6840
monochromatic
#1A3A3A #2D6465 #408E8F #58B3B4 #82C6C7

Accessibility & contrast

On white

3.83
#408E8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#408E8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E8F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E8F#FFFFFF#000000##000000
##408E8F1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85888F
Deuteranopia (green-blind)
#787E90
Tritanopia (blue-blind)
#00928E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #408e8f;
/* rgb */ color: rgb(64, 142, 143);
/* oklch */ color: oklch(59.9% 0.076 196.4);
Tailwind
colors: {
  custom: {
    50: '#7dafaf',
    500: '#408e8f',
    950: '#000000',
  },
}
SCSS
$custom: #408e8f;
$custom-light: #7dafaf;
$custom-dark: #000000;
JSON
{
  "hex": "#408e8f",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 143
  },
  "hsl": {
    "h": 180.759,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.59865,
    "c": 0.07632,
    "h": 196.4
  },
  "luminance": 0.22419
}

Semantic roles & 50–950 ramp

primary
#408E8F
secondary
#B27A79
accent
#5B5ACE
background
#F8FAFA
surface
#EFF4F4
border
#CACECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #408E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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