#317D7D#317D7D

#317D7D is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.3% C 0.074 H 195.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#317D7D
RGBrgb(49, 125, 125)
HSLhsl(180, 44%, 34%)
HSVhsv(180, 61%, 49%)
CMYKcmyk(60.8%, 0%, 0%, 51%)
CIE-LABlab(48.01, -22.98, -6.99)
CIE-LCHlch(48.01, 24.02, 196.92°)
OKLaboklab(54.32% -0.0713 -0.0194)
OKLCHoklch(54.32% 0.074 195.2)
XYZxyz(12.3003, 16.7996, 21.9925)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D7D #7D3131
analogous
#317D57 #317D7D #31577D
triadic
#317D7D #7D317D #7D7D31
tetradic
#317D7D #57317D #7D3131 #577D31
square
#317D7D #57317D #7D3131 #577D31
split-complementary
#317D7D #7D3157 #7D5731
monochromatic
#0F2525 #205151 #317D7D #42A9A9 #66C3C3

Accessibility & contrast

On white

4.82
#317D7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#317D7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D7D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D7D#FFFFFF#000000##FFFFFF
##317D7D1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75777D
Deuteranopia (green-blind)
#696E7E
Tritanopia (blue-blind)
#00817D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #317d7d;
/* rgb */ color: rgb(49, 125, 125);
/* oklch */ color: oklch(54.3% 0.074 195.2);
Tailwind
colors: {
  custom: {
    50: '#73a3a2',
    500: '#317d7d',
    950: '#000000',
  },
}
SCSS
$custom: #317d7d;
$custom-light: #73a3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#317d7d",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 125
  },
  "hsl": {
    "h": 180,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54316,
    "c": 0.07393,
    "h": 195.2
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

primary
#317D7D
secondary
#AA6060
accent
#5454D3
background
#F7FAF9
surface
#EDF3F2
border
#C8CDCC
text
#090F0F
muted
#7B7F7E

Preview Lab

Preview with #317D7D

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

Preview Lab → · Contrast checker → · Palette generator →

#317D7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva