#40797D#40797D

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

Color values

HEX#40797D
RGBrgb(64, 121, 125)
HSLhsl(184, 32%, 37%)
HSVhsv(184, 49%, 49%)
CMYKcmyk(48.8%, 3.2%, 0%, 51%)
CIE-LABlab(47.29, -17.52, -8.00)
CIE-LCHlch(47.29, 19.26, 204.53°)
OKLaboklab(53.9% -0.056 -0.022)
OKLCHoklch(53.9% 0.06 201.5)
XYZxyz(12.6519, 16.2443, 21.8668)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40797D #7D4440
analogous
#407D63 #40797D #405B7D
triadic
#40797D #7D4079 #797D40
tetradic
#40797D #63407D #7D4440 #5B7D40
square
#40797D #63407D #7D4440 #5B7D40
split-complementary
#40797D #7D405B #7D6340
monochromatic
#172B2C #2B5255 #40797D #55A0A5 #7CB8BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40797D#FFFFFF#000000##FFFFFF
##40797D1.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)
#72757D
Deuteranopia (green-blind)
#676D7D
Tritanopia (blue-blind)
#1E7D7A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #40797d;
/* rgb */ color: rgb(64, 121, 125);
/* oklch */ color: oklch(53.9% 0.060 201.5);
Tailwind
colors: {
  custom: {
    50: '#7aa0a2',
    500: '#40797d',
    950: '#000000',
  },
}
SCSS
$custom: #40797d;
$custom-light: #7aa0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40797d",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 183.934,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53898,
    "c": 0.06021,
    "h": 201.5
  },
  "luminance": 0.16245
}

Semantic roles & 50–950 ramp

primary
#40797D
secondary
#A67673
accent
#665FC8
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0F
muted
#7B7E7E

Preview Lab

Preview with #40797D

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

Preview Lab → · Contrast checker → · Palette generator →

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