#40937E#40937E

#40937E is a mid, moderate teal. Relative luminance 0.235; OKLCH L 60.6% C 0.087 H 174.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#40937E
RGBrgb(64, 147, 126)
HSLhsl(165, 39%, 41%)
HSVhsv(165, 56%, 58%)
CMYKcmyk(56.5%, 0%, 14.3%, 42.4%)
CIE-LABlab(55.55, -30.52, 3.55)
CIE-LCHlch(55.55, 30.73, 173.37°)
OKLaboklab(60.58% -0.0869 0.0089)
OKLCHoklch(60.58% 0.087 174.1)
XYZxyz(16.3123, 23.4622, 23.4036)
Luminance0.2346 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40937E #934055
analogous
#409355 #40937E #407F93
triadic
#40937E #7E4093 #937E40
tetradic
#40937E #554093 #934055 #7F9340
square
#40937E #554093 #934055 #7F9340
split-complementary
#40937E #93407F #935540
monochromatic
#1B3E35 #2D6859 #40937E #59B79F #84C9B8

Accessibility & contrast

On white

3.69
#40937E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#40937E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40937E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40937E#FFFFFF#000000##000000
##40937E1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8A7D
Deuteranopia (green-blind)
#828180
Tritanopia (blue-blind)
#0F958D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40937e;
/* rgb */ color: rgb(64, 147, 126);
/* oklch */ color: oklch(60.6% 0.087 174.1);
Tailwind
colors: {
  custom: {
    50: '#7cb3a3',
    500: '#40937e',
    950: '#000000',
  },
}
SCSS
$custom: #40937e;
$custom-light: #7cb3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40937e",
  "rgb": {
    "r": 64,
    "g": 147,
    "b": 126
  },
  "hsl": {
    "h": 164.819,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.60575,
    "c": 0.08739,
    "h": 174.1
  },
  "luminance": 0.23464
}

Semantic roles & 50–950 ramp

primary
#40937E
secondary
#B47B89
accent
#5977CF
background
#F7FBFA
surface
#EEF6F3
border
#C9D0CD
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #40937E

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

Preview Lab → · Contrast checker → · Palette generator →

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