#317F8A#317F8A

#317F8A is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.3% C 0.077 H 208.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#317F8A
RGBrgb(49, 127, 138)
HSLhsl(187, 48%, 37%)
HSVhsv(187, 64%, 54%)
CMYKcmyk(64.5%, 8%, 0%, 45.9%)
CIE-LABlab(49.09, -20.05, -13.03)
CIE-LCHlch(49.09, 23.91, 213.01°)
OKLaboklab(55.34% -0.0677 -0.0361)
OKLCHoklch(55.34% 0.077 208.1)
XYZxyz(13.4415, 17.6653, 26.7412)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F8A #8A3C31
analogous
#318A69 #317F8A #31538A
triadic
#317F8A #8A317F #7F8A31
tetradic
#317F8A #69318A #8A3C31 #538A31
square
#317F8A #69318A #8A3C31 #538A31
split-complementary
#317F8A #8A3153 #8A6931
monochromatic
#112C30 #21555D #317F8A #41A9B7 #6BBFCA

Accessibility & contrast

On white

4.63
#317F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#317F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317F8A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F8A#FFFFFF#000000##FFFFFF
##317F8A1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747A8B
Deuteranopia (green-blind)
#67708A
Tritanopia (blue-blind)
#008582
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317f8a;
/* rgb */ color: rgb(49, 127, 138);
/* oklch */ color: oklch(55.3% 0.077 208.1);
Tailwind
colors: {
  custom: {
    50: '#74a4ac',
    500: '#317f8a',
    950: '#000000',
  },
}
SCSS
$custom: #317f8a;
$custom-light: #74a4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#317f8a",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 187.416,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55335,
    "c": 0.07677,
    "h": 208.1
  },
  "luminance": 0.17667
}

Semantic roles & 50–950 ramp

primary
#317F8A
secondary
#B26E65
accent
#6151D7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #317F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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