#40887E#40887E

#40887E is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.8% C 0.074 H 183.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#40887E
RGBrgb(64, 136, 126)
HSLhsl(172, 36%, 39%)
HSVhsv(172, 53%, 53%)
CMYKcmyk(52.9%, 0%, 7.4%, 46.7%)
CIE-LABlab(52.07, -25.11, -1.51)
CIE-LCHlch(52.07, 25.15, 183.45°)
OKLaboklab(57.76% -0.0739 -0.0045)
OKLCHoklch(57.76% 0.074 183.5)
XYZxyz(14.6828, 20.2033, 22.8605)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40887E #88404A
analogous
#40885A #40887E #406E88
triadic
#40887E #7E4088 #887E40
tetradic
#40887E #5A4088 #88404A #6E8840
square
#40887E #5A4088 #88404A #6E8840
split-complementary
#40887E #88406E #885A40
monochromatic
#193531 #2C5E57 #40887E #56AFA3 #7FC3BA

Accessibility & contrast

On white

4.17
#40887E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#40887E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40887E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40887E#FFFFFF#000000##000000
##40887E1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82817E
Deuteranopia (green-blind)
#77797F
Tritanopia (blue-blind)
#168A85
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #40887e;
/* rgb */ color: rgb(64, 136, 126);
/* oklch */ color: oklch(57.8% 0.074 183.5);
Tailwind
colors: {
  custom: {
    50: '#7baba3',
    500: '#40887e',
    950: '#000000',
  },
}
SCSS
$custom: #40887e;
$custom-light: #7baba3;
$custom-dark: #000000;
JSON
{
  "hex": "#40887e",
  "rgb": {
    "r": 64,
    "g": 136,
    "b": 126
  },
  "hsl": {
    "h": 171.667,
    "s": 36,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57755,
    "c": 0.07409,
    "h": 183.5
  },
  "luminance": 0.20205
}

Semantic roles & 50–950 ramp

primary
#40887E
secondary
#AD767E
accent
#5C6BCC
background
#F7FAFA
surface
#EEF4F3
border
#C9CECD
text
#0A100F
muted
#7C7F7F

Preview Lab

Preview with #40887E

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

Preview Lab → · Contrast checker → · Palette generator →

#40887E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva