#40978B#40978B

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

Color values

HEX#40978B
RGBrgb(64, 151, 139)
HSLhsl(172, 40%, 42%)
HSVhsv(172, 58%, 59%)
CMYKcmyk(57.6%, 0%, 7.9%, 40.8%)
CIE-LABlab(57.16, -29.07, -1.53)
CIE-LCHlch(57.16, 29.11, 183.02°)
OKLaboklab(62% -0.0854 -0.0046)
OKLCHoklch(62% 0.086 183.1)
XYZxyz(17.8391, 25.0855, 28.3230)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40978B #97404C
analogous
#409760 #40978B #407897
triadic
#40978B #8B4097 #978B40
tetradic
#40978B #604097 #97404C #789740
square
#40978B #604097 #97404C #789740
split-complementary
#40978B #974078 #976040
monochromatic
#1C413C #2E6C63 #40978B #5BB9AC #86CCC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40978B#FFFFFF#000000##000000
##40978B1.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)
#908F8B
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#009A93
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #40978b;
/* rgb */ color: rgb(64, 151, 139);
/* oklch */ color: oklch(62.0% 0.086 183.1);
Tailwind
colors: {
  custom: {
    50: '#7eb6ac',
    500: '#40978b',
    950: '#000000',
  },
}
SCSS
$custom: #40978b;
$custom-light: #7eb6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40978b",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 139
  },
  "hsl": {
    "h": 171.724,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.62002,
    "c": 0.0855,
    "h": 183.1
  },
  "luminance": 0.25087
}

Semantic roles & 50–950 ramp

primary
#40978B
secondary
#B67D85
accent
#5768D0
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #40978B

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

Preview Lab → · Contrast checker → · Palette generator →

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