#31887D#31887D

#31887D is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.2% C 0.084 H 183.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#31887D
RGBrgb(49, 136, 125)
HSLhsl(172, 47%, 36%)
HSVhsv(172, 64%, 53%)
CMYKcmyk(64%, 0%, 8.1%, 46.7%)
CIE-LABlab(51.54, -28.52, -1.76)
CIE-LCHlch(51.54, 28.58, 183.53°)
OKLaboklab(57.18% -0.0838 -0.0052)
OKLCHoklch(57.18% 0.084 183.5)
XYZxyz(13.7708, 19.7405, 22.4826)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31887D #88313C
analogous
#318852 #31887D #316888
triadic
#31887D #7D3188 #887D31
tetradic
#31887D #523188 #88313C #688831
square
#31887D #523188 #88313C #688831
split-complementary
#31887D #883168 #885231
monochromatic
#112E2A #215B54 #31887D #41B5A6 #6AC9BD

Accessibility & contrast

On white

4.24
#31887D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#31887D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31887D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31887D#FFFFFF#000000##000000
##31887D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82807D
Deuteranopia (green-blind)
#75777E
Tritanopia (blue-blind)
#008B85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #31887d;
/* rgb */ color: rgb(49, 136, 125);
/* oklch */ color: oklch(57.2% 0.084 183.5);
Tailwind
colors: {
  custom: {
    50: '#74aba2',
    500: '#31887d',
    950: '#000000',
  },
}
SCSS
$custom: #31887d;
$custom-light: #74aba2;
$custom-dark: #000000;
JSON
{
  "hex": "#31887d",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 125
  },
  "hsl": {
    "h": 172.414,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57182,
    "c": 0.084,
    "h": 183.5
  },
  "luminance": 0.19742
}

Semantic roles & 50–950 ramp

primary
#31887D
secondary
#B1646E
accent
#5162D7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #31887D

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

Preview Lab → · Contrast checker → · Palette generator →

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