#317C8A#317C8A

#317C8A is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.6% C 0.076 H 212.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#317C8A
RGBrgb(49, 124, 138)
HSLhsl(189, 48%, 37%)
HSVhsv(189, 64%, 54%)
CMYKcmyk(64.5%, 10.1%, 0%, 45.9%)
CIE-LABlab(48.14, -18.44, -14.47)
CIE-LCHlch(48.14, 23.44, 218.12°)
OKLaboklab(54.57% -0.0644 -0.0402)
OKLCHoklch(54.57% 0.076 212)
XYZxyz(13.0598, 16.9019, 26.6139)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C8A #8A3F31
analogous
#318A6C #317C8A #31508A
triadic
#317C8A #8A317C #7C8A31
tetradic
#317C8A #6C318A #8A3F31 #508A31
square
#317C8A #6C318A #8A3F31 #508A31
split-complementary
#317C8A #8A3150 #8A6C31
monochromatic
#112B30 #21535D #317C8A #41A5B7 #6BBBCA

Accessibility & contrast

On white

4.79
#317C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#317C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317C8A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317C8A#FFFFFF#000000##FFFFFF
##317C8A1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71788B
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #317c8a;
/* rgb */ color: rgb(49, 124, 138);
/* oklch */ color: oklch(54.6% 0.076 212.0);
Tailwind
colors: {
  custom: {
    50: '#74a2ac',
    500: '#317c8a',
    950: '#000000',
  },
}
SCSS
$custom: #317c8a;
$custom-light: #74a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#317c8a",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 189.438,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54569,
    "c": 0.07587,
    "h": 212
  },
  "luminance": 0.16903
}

Semantic roles & 50–950 ramp

primary
#317C8A
secondary
#B27165
accent
#6651D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #317C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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