#40887A#40887A

#40887A is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.6% C 0.076 H 179.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#40887A
RGBrgb(64, 136, 122)
HSLhsl(168, 36%, 39%)
HSVhsv(168, 53%, 53%)
CMYKcmyk(52.9%, 0%, 10.3%, 46.7%)
CIE-LABlab(51.95, -26.17, 0.65)
CIE-LCHlch(51.95, 26.17, 178.59°)
OKLaboklab(57.63% -0.0758 0.0013)
OKLCHoklch(57.63% 0.076 179)
XYZxyz(14.4298, 20.1022, 21.5283)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40887A #88404E
analogous
#408856 #40887A #407288
triadic
#40887A #7A4088 #887A40
tetradic
#40887A #564088 #88404E #728840
square
#40887A #564088 #88404E #728840
split-complementary
#40887A #884072 #885640
monochromatic
#19352F #2C5E55 #40887A #56AF9E #7FC3B6

Accessibility & contrast

On white

4.18
#40887A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#40887A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40887A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40887A#FFFFFF#000000##000000
##40887A1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#838179
Deuteranopia (green-blind)
#78787B
Tritanopia (blue-blind)
#1B8A84
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #40887a;
/* rgb */ color: rgb(64, 136, 122);
/* oklch */ color: oklch(57.6% 0.076 179.0);
Tailwind
colors: {
  custom: {
    50: '#7baba0',
    500: '#40887a',
    950: '#000000',
  },
}
SCSS
$custom: #40887a;
$custom-light: #7baba0;
$custom-dark: #000000;
JSON
{
  "hex": "#40887a",
  "rgb": {
    "r": 64,
    "g": 136,
    "b": 122
  },
  "hsl": {
    "h": 168.333,
    "s": 36,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57625,
    "c": 0.07585,
    "h": 179
  },
  "luminance": 0.20103
}

Semantic roles & 50–950 ramp

primary
#40887A
secondary
#AD7681
accent
#5C72CC
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A100E
muted
#7C7F7E

Preview Lab

Preview with #40887A

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

Preview Lab → · Contrast checker → · Palette generator →

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