#40797B#40797B

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

Color values

HEX#40797B
RGBrgb(64, 121, 123)
HSLhsl(182, 32%, 37%)
HSVhsv(182, 48%, 48%)
CMYKcmyk(48%, 1.6%, 0%, 51.8%)
CIE-LABlab(47.23, -18.09, -6.91)
CIE-LCHlch(47.23, 19.36, 200.90°)
OKLaboklab(53.82% -0.0569 -0.019)
OKLCHoklch(53.82% 0.06 198.5)
XYZxyz(12.5255, 16.1938, 21.2007)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40797B #7B4240
analogous
#407B60 #40797B #405C7B
triadic
#40797B #7B4079 #797B40
tetradic
#40797B #60407B #7B4240 #5C7B40
square
#40797B #60407B #7B4240 #5C7B40
split-complementary
#40797B #7B405C #7B6040
monochromatic
#162A2A #2B5153 #40797B #55A1A3 #7BB8BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40797B#FFFFFF#000000##FFFFFF
##40797B1.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)
#72747B
Deuteranopia (green-blind)
#686D7B
Tritanopia (blue-blind)
#207C79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #40797b;
/* rgb */ color: rgb(64, 121, 123);
/* oklch */ color: oklch(53.8% 0.060 198.5);
Tailwind
colors: {
  custom: {
    50: '#7aa0a1',
    500: '#40797b',
    950: '#000000',
  },
}
SCSS
$custom: #40797b;
$custom-light: #7aa0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40797b",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 182.034,
    "s": 31.551,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53823,
    "c": 0.06003,
    "h": 198.5
  },
  "luminance": 0.16195
}

Semantic roles & 50–950 ramp

primary
#40797B
secondary
#A57472
accent
#6460C8
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #40797B

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

Preview Lab → · Contrast checker → · Palette generator →

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