#40797E#40797E

#40797E is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.9% C 0.060 H 202.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#40797E
RGBrgb(64, 121, 126)
HSLhsl(185, 33%, 37%)
HSVhsv(185, 49%, 49%)
CMYKcmyk(49.2%, 4%, 0%, 50.6%)
CIE-LABlab(47.33, -17.23, -8.54)
CIE-LCHlch(47.33, 19.23, 206.36°)
OKLaboklab(53.94% -0.0556 -0.0235)
OKLCHoklch(53.94% 0.06 202.9)
XYZxyz(12.7161, 16.2700, 22.2049)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40797E #7E4540
analogous
#407E64 #40797E #405A7E
triadic
#40797E #7E4079 #797E40
tetradic
#40797E #64407E #7E4540 #5A7E40
square
#40797E #64407E #7E4540 #5A7E40
split-complementary
#40797E #7E405A #7E6440
monochromatic
#172B2D #2B5255 #40797E #55A0A7 #7CB7BC

Accessibility & contrast

On white

4.94
#40797E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#40797E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40797E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40797E#FFFFFF#000000##FFFFFF
##40797E1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71757E
Deuteranopia (green-blind)
#676D7E
Tritanopia (blue-blind)
#1D7D7A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #40797e;
/* rgb */ color: rgb(64, 121, 126);
/* oklch */ color: oklch(53.9% 0.060 202.9);
Tailwind
colors: {
  custom: {
    50: '#7aa0a3',
    500: '#40797e',
    950: '#000000',
  },
}
SCSS
$custom: #40797e;
$custom-light: #7aa0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40797e",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 184.839,
    "s": 32.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.06036,
    "h": 202.9
  },
  "luminance": 0.16271
}

Semantic roles & 50–950 ramp

primary
#40797E
secondary
#A77773
accent
#685FC9
background
#F7F9FA
surface
#EEF2F3
border
#C9CCCD
text
#090E0F
muted
#7B7E7F

Preview Lab

Preview with #40797E

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

Preview Lab → · Contrast checker → · Palette generator →

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