#40978C#40978C

#40978C is a light, moderate teal. Relative luminance 0.251; OKLCH L 62.0% C 0.085 H 184.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#40978C
RGBrgb(64, 151, 140)
HSLhsl(172, 40%, 42%)
HSVhsv(172, 58%, 59%)
CMYKcmyk(57.6%, 0%, 7.3%, 40.8%)
CIE-LABlab(57.19, -28.80, -2.06)
CIE-LCHlch(57.19, 28.87, 184.10°)
OKLaboklab(62.04% -0.0849 -0.006)
OKLCHoklch(62.04% 0.085 184.1)
XYZxyz(17.9125, 25.1149, 28.7095)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40978C #97404B
analogous
#409761 #40978C #407797
triadic
#40978C #8C4097 #978C40
tetradic
#40978C #614097 #97404B #779740
square
#40978C #614097 #97404B #779740
split-complementary
#40978C #974077 #976140
monochromatic
#1C413C #2E6C64 #40978C #5BB9AD #86CCC3

Accessibility & contrast

On white

3.49
#40978C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#40978C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40978C
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40978C#FFFFFF#000000##000000
##40978C1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908F8C
Deuteranopia (green-blind)
#83858D
Tritanopia (blue-blind)
#009A93
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #40978c;
/* rgb */ color: rgb(64, 151, 140);
/* oklch */ color: oklch(62.0% 0.085 184.1);
Tailwind
colors: {
  custom: {
    50: '#7eb6ad',
    500: '#40978c',
    950: '#000000',
  },
}
SCSS
$custom: #40978c;
$custom-light: #7eb6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#40978c",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 140
  },
  "hsl": {
    "h": 172.414,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.62035,
    "c": 0.08513,
    "h": 184.1
  },
  "luminance": 0.25117
}

Semantic roles & 50–950 ramp

primary
#40978C
secondary
#B67D84
accent
#5767D0
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #40978C

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

Preview Lab → · Contrast checker → · Palette generator →

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