#317B71#317B71

#317B71 is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.4% C 0.075 H 183.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#317B71
RGBrgb(49, 123, 113)
HSLhsl(172, 43%, 34%)
HSVhsv(172, 60%, 48%)
CMYKcmyk(60.2%, 0%, 8.1%, 51.8%)
CIE-LABlab(46.99, -25.43, -1.40)
CIE-LCHlch(46.99, 25.47, 183.14°)
OKLaboklab(53.37% -0.0747 -0.0042)
OKLCHoklch(53.37% 0.075 183.2)
XYZxyz(11.3289, 16.0100, 18.1128)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B71 #7B313B
analogous
#317B4C #317B71 #31607B
triadic
#317B71 #71317B #7B7131
tetradic
#317B71 #4C317B #7B313B #607B31
square
#317B71 #4C317B #7B313B #607B31
split-complementary
#317B71 #7B3160 #7B4C31
monochromatic
#0E2321 #204F49 #317B71 #42A799 #65C2B5

Accessibility & contrast

On white

5.00
#317B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#317B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B71
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B71#FFFFFF#000000##FFFFFF
##317B711.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757471
Deuteranopia (green-blind)
#6A6C72
Tritanopia (blue-blind)
#007D78
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317b71;
/* rgb */ color: rgb(49, 123, 113);
/* oklch */ color: oklch(53.4% 0.075 183.2);
Tailwind
colors: {
  custom: {
    50: '#71a199',
    500: '#317b71',
    950: '#000000',
  },
}
SCSS
$custom: #317b71;
$custom-light: #71a199;
$custom-dark: #000000;
JSON
{
  "hex": "#317b71",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 113
  },
  "hsl": {
    "h": 171.892,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53367,
    "c": 0.07484,
    "h": 183.2
  },
  "luminance": 0.16011
}

Semantic roles & 50–950 ramp

primary
#317B71
secondary
#A95F69
accent
#5566D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #317B71

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

Preview Lab → · Contrast checker → · Palette generator →

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