#40958A#40958A

#40958A is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.5% C 0.084 H 183.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#40958A
RGBrgb(64, 149, 138)
HSLhsl(172, 40%, 42%)
HSVhsv(172, 57%, 58%)
CMYKcmyk(57%, 0%, 7.4%, 41.6%)
CIE-LABlab(56.50, -28.36, -1.92)
CIE-LCHlch(56.50, 28.42, 183.88°)
OKLaboklab(61.46% -0.0836 -0.0056)
OKLCHoklch(61.46% 0.084 183.9)
XYZxyz(17.4472, 24.4182, 27.8335)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40958A #95404B
analogous
#409560 #40958A #407695
triadic
#40958A #8A4095 #958A40
tetradic
#40958A #604095 #95404B #769540
square
#40958A #604095 #95404B #769540
split-complementary
#40958A #954076 #956040
monochromatic
#1B3F3B #2E6A62 #40958A #5AB8AC #85CBC2

Accessibility & contrast

On white

3.57
#40958A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#40958A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40958A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40958A#FFFFFF#000000##000000
##40958A1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8D8A
Deuteranopia (green-blind)
#81838B
Tritanopia (blue-blind)
#009891
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40958a;
/* rgb */ color: rgb(64, 149, 138);
/* oklch */ color: oklch(61.5% 0.084 183.9);
Tailwind
colors: {
  custom: {
    50: '#7db4ac',
    500: '#40958a',
    950: '#000000',
  },
}
SCSS
$custom: #40958a;
$custom-light: #7db4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40958a",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 138
  },
  "hsl": {
    "h": 172.235,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.61462,
    "c": 0.08375,
    "h": 183.9
  },
  "luminance": 0.2442
}

Semantic roles & 50–950 ramp

primary
#40958A
secondary
#B57C83
accent
#5868D0
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #40958A

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

Preview Lab → · Contrast checker → · Palette generator →

#40958A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva