#408A8A#408A8A

#408A8A is a mid, moderate teal. Relative luminance 0.211; OKLCH L 58.7% C 0.073 H 195.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#408A8A
RGBrgb(64, 138, 138)
HSLhsl(180, 37%, 40%)
HSVhsv(180, 54%, 54%)
CMYKcmyk(53.6%, 0%, 0%, 45.9%)
CIE-LABlab(53.06, -22.81, -7.02)
CIE-LCHlch(53.06, 23.87, 197.10°)
OKLaboklab(58.68% -0.0708 -0.0194)
OKLCHoklch(58.68% 0.073 195.3)
XYZxyz(15.7884, 21.1004, 27.2806)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408A8A #8A4040
analogous
#408A65 #408A8A #40658A
triadic
#408A8A #8A408A #8A8A40
tetradic
#408A8A #65408A #8A4040 #658A40
square
#408A8A #65408A #8A4040 #658A40
split-complementary
#408A8A #8A4065 #8A6540
monochromatic
#193636 #2D6060 #408A8A #56B1B1 #80C4C4

Accessibility & contrast

On white

4.02
#408A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#408A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408A8A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408A8A#FFFFFF#000000##000000
##408A8A1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82848A
Deuteranopia (green-blind)
#767B8B
Tritanopia (blue-blind)
#008E8A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #408a8a;
/* rgb */ color: rgb(64, 138, 138);
/* oklch */ color: oklch(58.7% 0.073 195.3);
Tailwind
colors: {
  custom: {
    50: '#7cacac',
    500: '#408a8a',
    950: '#000000',
  },
}
SCSS
$custom: #408a8a;
$custom-light: #7cacac;
$custom-dark: #000000;
JSON
{
  "hex": "#408a8a",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 180,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.07339,
    "h": 195.3
  },
  "luminance": 0.21102
}

Semantic roles & 50–950 ramp

primary
#408A8A
secondary
#AF7777
accent
#5B5BCD
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #408A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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