#317D8B#317D8B

#317D8B is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.9% C 0.077 H 211.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#317D8B
RGBrgb(49, 125, 139)
HSLhsl(189, 48%, 37%)
HSVhsv(189, 65%, 55%)
CMYKcmyk(64.7%, 10.1%, 0%, 45.5%)
CIE-LABlab(48.49, -18.66, -14.52)
CIE-LCHlch(48.49, 23.65, 217.89°)
OKLaboklab(54.87% -0.0651 -0.0403)
OKLCHoklch(54.87% 0.077 211.8)
XYZxyz(13.2585, 17.1829, 27.0390)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D8B #8B3F31
analogous
#318B6C #317D8B #31508B
triadic
#317D8B #8B317D #7D8B31
tetradic
#317D8B #6C318B #8B3F31 #508B31
square
#317D8B #6C318B #8B3F31 #508B31
split-complementary
#317D8B #8B3150 #8B6C31
monochromatic
#112C31 #21545E #317D8B #41A6B8 #6BBCCB

Accessibility & contrast

On white

4.73
#317D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#317D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D8B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D8B#FFFFFF#000000##FFFFFF
##317D8B1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798C
Deuteranopia (green-blind)
#656F8B
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #317d8b;
/* rgb */ color: rgb(49, 125, 139);
/* oklch */ color: oklch(54.9% 0.077 211.8);
Tailwind
colors: {
  custom: {
    50: '#74a3ac',
    500: '#317d8b',
    950: '#000000',
  },
}
SCSS
$custom: #317d8b;
$custom-light: #74a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#317d8b",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 139
  },
  "hsl": {
    "h": 189.333,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.07654,
    "h": 211.8
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#317D8B
secondary
#B27165
accent
#6550D7
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #317D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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