#40978F#40978F

#40978F is a light, moderate teal. Relative luminance 0.252; OKLCH L 62.1% C 0.084 H 187.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#40978F
RGBrgb(64, 151, 143)
HSLhsl(174, 40%, 42%)
HSVhsv(174, 58%, 59%)
CMYKcmyk(57.6%, 0%, 5.3%, 40.8%)
CIE-LABlab(57.27, -27.98, -3.65)
CIE-LCHlch(57.27, 28.22, 187.43°)
OKLaboklab(62.13% -0.0835 -0.0103)
OKLCHoklch(62.13% 0.084 187)
XYZxyz(18.1367, 25.2046, 29.8904)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40978F #974048
analogous
#409764 #40978F #407497
triadic
#40978F #8F4097 #978F40
tetradic
#40978F #644097 #974048 #749740
square
#40978F #644097 #974048 #749740
split-complementary
#40978F #974074 #976440
monochromatic
#1C413E #2E6C66 #40978F #5BB9B1 #86CCC5

Accessibility & contrast

On white

3.48
#40978F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#40978F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40978F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40978F#FFFFFF#000000##000000
##40978F1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908F8F
Deuteranopia (green-blind)
#828590
Tritanopia (blue-blind)
#009A94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #40978f;
/* rgb */ color: rgb(64, 151, 143);
/* oklch */ color: oklch(62.1% 0.084 187.0);
Tailwind
colors: {
  custom: {
    50: '#7eb6af',
    500: '#40978f',
    950: '#000000',
  },
}
SCSS
$custom: #40978f;
$custom-light: #7eb6af;
$custom-dark: #000000;
JSON
{
  "hex": "#40978f",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 143
  },
  "hsl": {
    "h": 174.483,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.62134,
    "c": 0.08416,
    "h": 187
  },
  "luminance": 0.25206
}

Semantic roles & 50–950 ramp

primary
#40978F
secondary
#B67D82
accent
#5763D0
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0B1110
muted
#7C807F

Preview Lab

Preview with #40978F

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

Preview Lab → · Contrast checker → · Palette generator →

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