#31977B#31977B

#31977B is a mid, moderate teal. Relative luminance 0.242; OKLCH L 61.0% C 0.103 H 171.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#31977B
RGBrgb(49, 151, 123)
HSLhsl(164, 51%, 39%)
HSVhsv(164, 68%, 59%)
CMYKcmyk(67.5%, 0%, 18.5%, 40.8%)
CIE-LABlab(56.30, -36.11, 6.29)
CIE-LCHlch(56.30, 36.65, 170.11°)
OKLaboklab(61.04% -0.1014 0.016)
OKLCHoklch(61.04% 0.103 171)
XYZxyz(15.9066, 24.2145, 22.5706)
Luminance0.2422 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31977B #97314D
analogous
#319748 #31977B #318097
triadic
#31977B #7B3197 #977B31
tetradic
#31977B #483197 #97314D #809731
square
#31977B #483197 #97314D #809731
split-complementary
#31977B #973180 #974831
monochromatic
#133B30 #226955 #31977B #43C29F #71D1B7

Accessibility & contrast

On white

3.59
#31977B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#31977B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31977B
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31977B#FFFFFF#000000##000000
##31977B1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938D7A
Deuteranopia (green-blind)
#84837D
Tritanopia (blue-blind)
#00988F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31977b;
/* rgb */ color: rgb(49, 151, 123);
/* oklch */ color: oklch(61.0% 0.103 171.0);
Tailwind
colors: {
  custom: {
    50: '#76b6a1',
    500: '#31977b',
    950: '#000000',
  },
}
SCSS
$custom: #31977b;
$custom-light: #76b6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31977b",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 123
  },
  "hsl": {
    "h": 163.529,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.10262,
    "h": 171
  },
  "luminance": 0.24216
}

Semantic roles & 50–950 ramp

primary
#31977B
secondary
#B96B80
accent
#4D74DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #31977B

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

Preview Lab → · Contrast checker → · Palette generator →

#31977B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva