#40937B#40937B

#40937B is a mid, moderate teal. Relative luminance 0.234; OKLCH L 60.5% C 0.089 H 171.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#40937B
RGBrgb(64, 147, 123)
HSLhsl(163, 39%, 41%)
HSVhsv(163, 56%, 58%)
CMYKcmyk(56.5%, 0%, 16.3%, 42.4%)
CIE-LABlab(55.47, -31.28, 5.16)
CIE-LCHlch(55.47, 31.70, 170.64°)
OKLaboklab(60.49% -0.0884 0.0131)
OKLCHoklch(60.49% 0.089 171.5)
XYZxyz(16.1216, 23.3860, 22.3994)
Luminance0.2339 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40937B #934058
analogous
#409352 #40937B #408293
triadic
#40937B #7B4093 #937B40
tetradic
#40937B #524093 #934058 #829340
square
#40937B #524093 #934058 #829340
split-complementary
#40937B #934082 #935240
monochromatic
#1B3E34 #2D6857 #40937B #59B79C #84C9B5

Accessibility & contrast

On white

3.70
#40937B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#40937B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40937B
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40937B#FFFFFF#000000##000000
##40937B1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8A7A
Deuteranopia (green-blind)
#82817D
Tritanopia (blue-blind)
#13948C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40937b;
/* rgb */ color: rgb(64, 147, 123);
/* oklch */ color: oklch(60.5% 0.089 171.5);
Tailwind
colors: {
  custom: {
    50: '#7cb3a1',
    500: '#40937b',
    950: '#000000',
  },
}
SCSS
$custom: #40937b;
$custom-light: #7cb3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40937b",
  "rgb": {
    "r": 64,
    "g": 147,
    "b": 123
  },
  "hsl": {
    "h": 162.651,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.60486,
    "c": 0.08934,
    "h": 171.5
  },
  "luminance": 0.23387
}

Semantic roles & 50–950 ramp

primary
#40937B
secondary
#B47B8B
accent
#597BCF
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110E
muted
#7C807E

Preview Lab

Preview with #40937B

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

Preview Lab → · Contrast checker → · Palette generator →

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