#317D87#317D87

#317D87 is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.7% C 0.075 H 207.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#317D87
RGBrgb(49, 125, 135)
HSLhsl(187, 47%, 36%)
HSVhsv(187, 64%, 53%)
CMYKcmyk(63.7%, 7.4%, 0%, 47.1%)
CIE-LABlab(48.35, -19.92, -12.38)
CIE-LCHlch(48.35, 23.46, 211.86°)
OKLaboklab(54.7% -0.0668 -0.0343)
OKLCHoklch(54.7% 0.075 207.2)
XYZxyz(12.9716, 17.0681, 25.5278)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D87 #873B31
analogous
#318766 #317D87 #315287
triadic
#317D87 #87317D #7D8731
tetradic
#317D87 #663187 #873B31 #528731
square
#317D87 #663187 #873B31 #528731
split-complementary
#317D87 #873152 #876631
monochromatic
#102A2D #21535A #317D87 #41A7B4 #6ABEC9

Accessibility & contrast

On white

4.76
#317D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#317D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D87
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D87#FFFFFF#000000##FFFFFF
##317D871.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737888
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #317d87;
/* rgb */ color: rgb(49, 125, 135);
/* oklch */ color: oklch(54.7% 0.075 207.2);
Tailwind
colors: {
  custom: {
    50: '#74a3aa',
    500: '#317d87',
    950: '#000000',
  },
}
SCSS
$custom: #317d87;
$custom-light: #74a3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#317d87",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 135
  },
  "hsl": {
    "h": 186.977,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.0751,
    "h": 207.2
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#317D87
secondary
#B06C64
accent
#6151D6
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #317D87

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

Preview Lab → · Contrast checker → · Palette generator →

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