#31737C#31737C

#31737C is a mid, moderate teal. Relative luminance 0.144; OKLCH L 51.7% C 0.068 H 207.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#31737C
RGBrgb(49, 115, 124)
HSLhsl(187, 43%, 34%)
HSVhsv(187, 60%, 49%)
CMYKcmyk(60.5%, 7.3%, 0%, 51.4%)
CIE-LABlab(44.76, -17.97, -11.27)
CIE-LCHlch(44.76, 21.21, 212.09°)
OKLaboklab(51.68% -0.0602 -0.0312)
OKLCHoklch(51.68% 0.068 207.4)
XYZxyz(11.0340, 14.3686, 21.2568)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31737C #7C3A31
analogous
#317C60 #31737C #314E7C
triadic
#31737C #7C3173 #737C31
tetradic
#31737C #60317C #7C3A31 #4E7C31
square
#31737C #60317C #7C3A31 #4E7C31
split-complementary
#31737C #7C314E #7C6031
monochromatic
#0E2224 #204A50 #31737C #429CA8 #65B7C2

Accessibility & contrast

On white

5.42
#31737C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#31737C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31737C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31737C#FFFFFF#000000##FFFFFF
##31737C1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6F7D
Deuteranopia (green-blind)
#5E667C
Tritanopia (blue-blind)
#007876
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #31737c;
/* rgb */ color: rgb(49, 115, 124);
/* oklch */ color: oklch(51.7% 0.068 207.4);
Tailwind
colors: {
  custom: {
    50: '#719ba1',
    500: '#31737c',
    950: '#000000',
  },
}
SCSS
$custom: #31737c;
$custom-light: #719ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#31737c",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 124
  },
  "hsl": {
    "h": 187.2,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51684,
    "c": 0.06776,
    "h": 207.4
  },
  "luminance": 0.1437
}

Semantic roles & 50–950 ramp

primary
#31737C
secondary
#AA685F
accent
#6455D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #31737C

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

Preview Lab → · Contrast checker → · Palette generator →

#31737C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva