#31717C#31717C

#31717C is a mid, moderate teal. Relative luminance 0.139; OKLCH L 51.2% C 0.067 H 210.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#31717C
RGBrgb(49, 113, 124)
HSLhsl(189, 43%, 34%)
HSVhsv(189, 60%, 49%)
CMYKcmyk(60.5%, 8.9%, 0%, 51.4%)
CIE-LABlab(44.11, -16.87, -12.24)
CIE-LCHlch(44.11, 20.85, 215.96°)
OKLaboklab(51.17% -0.0578 -0.0339)
OKLCHoklch(51.17% 0.067 210.4)
XYZxyz(10.8084, 13.9174, 21.1816)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31717C #7C3C31
analogous
#317C62 #31717C #314C7C
triadic
#31717C #7C3171 #717C31
tetradic
#31717C #62317C #7C3C31 #4C7C31
square
#31717C #62317C #7C3C31 #4C7C31
split-complementary
#31717C #7C314C #7C6231
monochromatic
#0E2124 #204950 #31717C #4299A8 #65B5C2

Accessibility & contrast

On white

5.55
#31717C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#31717C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31717C
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31717C#FFFFFF#000000##FFFFFF
##31717C1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686D7D
Deuteranopia (green-blind)
#5C657C
Tritanopia (blue-blind)
#007674
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #31717c;
/* rgb */ color: rgb(49, 113, 124);
/* oklch */ color: oklch(51.2% 0.067 210.4);
Tailwind
colors: {
  custom: {
    50: '#719aa1',
    500: '#31717c',
    950: '#000000',
  },
}
SCSS
$custom: #31717c;
$custom-light: #719aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#31717c",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 124
  },
  "hsl": {
    "h": 188.8,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.06702,
    "h": 210.4
  },
  "luminance": 0.13918
}

Semantic roles & 50–950 ramp

primary
#31717C
secondary
#AA6A5F
accent
#6755D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #31717C

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

Preview Lab → · Contrast checker → · Palette generator →

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