#40797C#40797C

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

Color values

HEX#40797C
RGBrgb(64, 121, 124)
HSLhsl(183, 32%, 37%)
HSVhsv(183, 48%, 49%)
CMYKcmyk(48.4%, 2.4%, 0%, 51.4%)
CIE-LABlab(47.26, -17.81, -7.45)
CIE-LCHlch(47.26, 19.30, 202.71°)
OKLaboklab(53.86% -0.0565 -0.0205)
OKLCHoklch(53.86% 0.06 200)
XYZxyz(12.5884, 16.2189, 21.5321)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40797C #7C4340
analogous
#407C61 #40797C #405B7C
triadic
#40797C #7C4079 #797C40
tetradic
#40797C #61407C #7C4340 #5B7C40
square
#40797C #61407C #7C4340 #5B7C40
split-complementary
#40797C #7C405B #7C6140
monochromatic
#162A2B #2B5254 #40797C #55A0A4 #7BB8BB

Accessibility & contrast

On white

4.95
#40797C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#40797C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40797C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40797C#FFFFFF#000000##FFFFFF
##40797C1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72747C
Deuteranopia (green-blind)
#686D7C
Tritanopia (blue-blind)
#1F7D7A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #40797c;
/* rgb */ color: rgb(64, 121, 124);
/* oklch */ color: oklch(53.9% 0.060 200.0);
Tailwind
colors: {
  custom: {
    50: '#7aa0a1',
    500: '#40797c',
    950: '#000000',
  },
}
SCSS
$custom: #40797c;
$custom-light: #7aa0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40797c",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 183,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5386,
    "c": 0.0601,
    "h": 200
  },
  "luminance": 0.1622
}

Semantic roles & 50–950 ramp

primary
#40797C
secondary
#A67572
accent
#6560C8
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0F
muted
#7B7E7E

Preview Lab

Preview with #40797C

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

Preview Lab → · Contrast checker → · Palette generator →

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