#40957C#40957C

#40957C is a mid, moderate teal. Relative luminance 0.240; OKLCH L 61.0% C 0.091 H 171.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#40957C
RGBrgb(64, 149, 124)
HSLhsl(162, 40%, 42%)
HSVhsv(162, 57%, 58%)
CMYKcmyk(57%, 0%, 16.8%, 41.6%)
CIE-LABlab(56.13, -31.98, 5.53)
CIE-LCHlch(56.13, 32.45, 170.19°)
OKLaboklab(61.03% -0.0902 0.0141)
OKLCHoklch(61.03% 0.091 171.1)
XYZxyz(16.4982, 24.0386, 22.8353)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40957C #954059
analogous
#409552 #40957C #408495
triadic
#40957C #7C4095 #957C40
tetradic
#40957C #524095 #954059 #849540
square
#40957C #524095 #954059 #849540
split-complementary
#40957C #954084 #955240
monochromatic
#1B3F35 #2E6A58 #40957C #5AB89C #85CBB6

Accessibility & contrast

On white

3.62
#40957C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#40957C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40957C
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40957C#FFFFFF#000000##000000
##40957C1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918C7B
Deuteranopia (green-blind)
#84837E
Tritanopia (blue-blind)
#10968E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40957c;
/* rgb */ color: rgb(64, 149, 124);
/* oklch */ color: oklch(61.0% 0.091 171.1);
Tailwind
colors: {
  custom: {
    50: '#7db4a1',
    500: '#40957c',
    950: '#000000',
  },
}
SCSS
$custom: #40957c;
$custom-light: #7db4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40957c",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 124
  },
  "hsl": {
    "h": 162.353,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6103,
    "c": 0.09131,
    "h": 171.1
  },
  "luminance": 0.2404
}

Semantic roles & 50–950 ramp

primary
#40957C
secondary
#B57C8D
accent
#587BD0
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110F
muted
#7C807E

Preview Lab

Preview with #40957C

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

Preview Lab → · Contrast checker → · Palette generator →

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