#40887D#40887D

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

Color values

HEX#40887D
RGBrgb(64, 136, 125)
HSLhsl(171, 36%, 39%)
HSVhsv(171, 53%, 53%)
CMYKcmyk(52.9%, 0%, 8.1%, 46.7%)
CIE-LABlab(52.04, -25.37, -0.97)
CIE-LCHlch(52.04, 25.39, 182.20°)
OKLaboklab(57.72% -0.0744 -0.003)
OKLCHoklch(57.72% 0.074 182.3)
XYZxyz(14.6186, 20.1777, 22.5224)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40887D #88404B
analogous
#408859 #40887D #406F88
triadic
#40887D #7D4088 #887D40
tetradic
#40887D #594088 #88404B #6F8840
square
#40887D #594088 #88404B #6F8840
split-complementary
#40887D #88406F #885940
monochromatic
#193531 #2C5E57 #40887D #56AFA2 #7FC3B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40887D#FFFFFF#000000##000000
##40887D1.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)
#82817D
Deuteranopia (green-blind)
#77797E
Tritanopia (blue-blind)
#178A85
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #40887d;
/* rgb */ color: rgb(64, 136, 125);
/* oklch */ color: oklch(57.7% 0.074 182.3);
Tailwind
colors: {
  custom: {
    50: '#7baba2',
    500: '#40887d',
    950: '#000000',
  },
}
SCSS
$custom: #40887d;
$custom-light: #7baba2;
$custom-dark: #000000;
JSON
{
  "hex": "#40887d",
  "rgb": {
    "r": 64,
    "g": 136,
    "b": 125
  },
  "hsl": {
    "h": 170.833,
    "s": 36,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.07448,
    "h": 182.3
  },
  "luminance": 0.20179
}

Semantic roles & 50–950 ramp

primary
#40887D
secondary
#AD767F
accent
#5C6DCC
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A100F
muted
#7C7F7E

Preview Lab

Preview with #40887D

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

Preview Lab → · Contrast checker → · Palette generator →

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