#40786E#40786E

#40786E is a mid, moderate teal. Relative luminance 0.156; OKLCH L 53.1% C 0.062 H 180.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#40786E
RGBrgb(64, 120, 110)
HSLhsl(169, 30%, 36%)
HSVhsv(169, 47%, 47%)
CMYKcmyk(46.7%, 0%, 8.3%, 52.9%)
CIE-LABlab(46.51, -21.11, -0.25)
CIE-LCHlch(46.51, 21.11, 180.67°)
OKLaboklab(53.11% -0.0617 -0.001)
OKLCHoklch(53.11% 0.062 180.9)
XYZxyz(11.6442, 15.6478, 17.1556)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40786E #78404A
analogous
#407852 #40786E #406678
triadic
#40786E #6E4078 #786E40
tetradic
#40786E #524078 #78404A #667840
square
#40786E #524078 #78404A #667840
split-complementary
#40786E #784066 #785240
monochromatic
#152825 #2B5049 #40786E #55A093 #7AB8AD

Accessibility & contrast

On white

5.08
#40786E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#40786E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40786E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40786E#FFFFFF#000000##FFFFFF
##40786E1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74726E
Deuteranopia (green-blind)
#6A6B6F
Tritanopia (blue-blind)
#297A75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #40786e;
/* rgb */ color: rgb(64, 120, 110);
/* oklch */ color: oklch(53.1% 0.062 180.9);
Tailwind
colors: {
  custom: {
    50: '#799f97',
    500: '#40786e',
    950: '#000000',
  },
}
SCSS
$custom: #40786e;
$custom-light: #799f97;
$custom-dark: #000000;
JSON
{
  "hex": "#40786e",
  "rgb": {
    "r": 64,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 169.286,
    "s": 30.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.06174,
    "h": 180.9
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#40786E
secondary
#A3717A
accent
#6173C7
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0D
muted
#7B7E7E

Preview Lab

Preview with #40786E

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

Preview Lab → · Contrast checker → · Palette generator →

#40786E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva