#31987D#31987D

#31987D is a mid, moderate teal. Relative luminance 0.246; OKLCH L 61.4% C 0.102 H 171.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#31987D
RGBrgb(49, 152, 125)
HSLhsl(164, 51%, 39%)
HSVhsv(164, 68%, 60%)
CMYKcmyk(67.8%, 0%, 17.8%, 40.4%)
CIE-LABlab(56.67, -36.05, 5.69)
CIE-LCHlch(56.67, 36.49, 171.04°)
OKLaboklab(61.36% -0.1015 0.0145)
OKLCHoklch(61.36% 0.103 171.9)
XYZxyz(16.1947, 24.5883, 23.2906)
Luminance0.2459 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31987D #98314C
analogous
#31984A #31987D #318098
triadic
#31987D #7D3198 #987D31
tetradic
#31987D #4A3198 #98314C #809831
square
#31987D #4A3198 #98314C #809831
split-complementary
#31987D #983180 #984A31
monochromatic
#133B31 #226A57 #31987D #44C3A1 #72D2B8

Accessibility & contrast

On white

3.55
#31987D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#31987D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31987D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31987D#FFFFFF#000000##000000
##31987D1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7C
Deuteranopia (green-blind)
#85847F
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #31987d;
/* rgb */ color: rgb(49, 152, 125);
/* oklch */ color: oklch(61.4% 0.102 171.9);
Tailwind
colors: {
  custom: {
    50: '#76b7a2',
    500: '#31987d',
    950: '#000000',
  },
}
SCSS
$custom: #31987d;
$custom-light: #76b7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31987d",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 125
  },
  "hsl": {
    "h": 164.272,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61361,
    "c": 0.1025,
    "h": 171.9
  },
  "luminance": 0.2459
}

Semantic roles & 50–950 ramp

primary
#31987D
secondary
#B96B80
accent
#4D72DB
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110F
muted
#7C807E

Preview Lab

Preview with #31987D

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

Preview Lab → · Contrast checker → · Palette generator →

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