#40917C#40917C

#40917C is a mid, moderate teal. Relative luminance 0.228; OKLCH L 60.0% C 0.086 H 173.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#40917C
RGBrgb(64, 145, 124)
HSLhsl(164, 39%, 41%)
HSVhsv(164, 56%, 57%)
CMYKcmyk(55.9%, 0%, 14.5%, 43.1%)
CIE-LABlab(54.86, -30.07, 3.71)
CIE-LCHlch(54.86, 30.30, 172.97°)
OKLaboklab(60% -0.0856 0.0094)
OKLCHoklch(60% 0.086 173.8)
XYZxyz(15.8762, 22.7945, 22.6280)
Luminance0.2280 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40917C #914055
analogous
#409153 #40917C #407D91
triadic
#40917C #7C4091 #917C40
tetradic
#40917C #534091 #914055 #7D9140
square
#40917C #534091 #914055 #7D9140
split-complementary
#40917C #91407D #915340
monochromatic
#1B3C33 #2D6758 #40917C #59B69D #83C8B6

Accessibility & contrast

On white

3.78
#40917C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#40917C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40917C
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40917C#FFFFFF#000000##000000
##40917C1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D897B
Deuteranopia (green-blind)
#80807D
Tritanopia (blue-blind)
#13928B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40917c;
/* rgb */ color: rgb(64, 145, 124);
/* oklch */ color: oklch(60.0% 0.086 173.8);
Tailwind
colors: {
  custom: {
    50: '#7cb1a1',
    500: '#40917c',
    950: '#000000',
  },
}
SCSS
$custom: #40917c;
$custom-light: #7cb1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40917c",
  "rgb": {
    "r": 64,
    "g": 145,
    "b": 124
  },
  "hsl": {
    "h": 164.444,
    "s": 38.756,
    "l": 40.98
  },
  "oklch": {
    "l": 0.60001,
    "c": 0.08607,
    "h": 173.8
  },
  "luminance": 0.22796
}

Semantic roles & 50–950 ramp

primary
#40917C
secondary
#B37A89
accent
#5978CF
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110F
muted
#7C807E

Preview Lab

Preview with #40917C

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

Preview Lab → · Contrast checker → · Palette generator →

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