#40947A#40947A

#40947A is a mid, moderate teal. Relative luminance 0.237; OKLCH L 60.7% C 0.091 H 170.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#40947A
RGBrgb(64, 148, 122)
HSLhsl(161, 40%, 42%)
HSVhsv(161, 57%, 58%)
CMYKcmyk(56.8%, 0%, 17.6%, 42%)
CIE-LABlab(55.76, -32.00, 6.14)
CIE-LCHlch(55.76, 32.58, 169.13°)
OKLaboklab(60.72% -0.09 0.0157)
OKLCHoklch(60.72% 0.091 170.1)
XYZxyz(16.2155, 23.6734, 22.1235)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40947A #94405A
analogous
#409450 #40947A #408494
triadic
#40947A #7A4094 #947A40
tetradic
#40947A #504094 #94405A #849440
square
#40947A #504094 #94405A #849440
split-complementary
#40947A #944084 #945040
monochromatic
#1B3F34 #2E6957 #40947A #5AB89A #84CAB4

Accessibility & contrast

On white

3.66
#40947A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#40947A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40947A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40947A#FFFFFF#000000##000000
##40947A1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908B79
Deuteranopia (green-blind)
#84827C
Tritanopia (blue-blind)
#14958C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40947a;
/* rgb */ color: rgb(64, 148, 122);
/* oklch */ color: oklch(60.7% 0.091 170.1);
Tailwind
colors: {
  custom: {
    50: '#7cb4a0',
    500: '#40947a',
    950: '#000000',
  },
}
SCSS
$custom: #40947a;
$custom-light: #7cb4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40947a",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 122
  },
  "hsl": {
    "h": 161.429,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.60715,
    "c": 0.09137,
    "h": 170.1
  },
  "luminance": 0.23675
}

Semantic roles & 50–950 ramp

primary
#40947A
secondary
#B47B8D
accent
#587DD0
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110E
muted
#7C807E

Preview Lab

Preview with #40947A

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

Preview Lab → · Contrast checker → · Palette generator →

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