#317F7D#317F7D

#317F7D is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.8% C 0.076 H 192.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#317F7D
RGBrgb(49, 127, 125)
HSLhsl(178, 44%, 35%)
HSVhsv(178, 61%, 50%)
CMYKcmyk(61.4%, 0%, 1.6%, 50.2%)
CIE-LABlab(48.65, -24.01, -6.03)
CIE-LCHlch(48.65, 24.76, 194.10°)
OKLaboklab(54.84% -0.0736 -0.0168)
OKLCHoklch(54.84% 0.076 192.8)
XYZxyz(12.5560, 17.3111, 22.0777)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F7D #7F3133
analogous
#317F56 #317F7D #315A7F
triadic
#317F7D #7D317F #7F7D31
tetradic
#317F7D #56317F #7F3133 #5A7F31
square
#317F7D #56317F #7F3133 #5A7F31
split-complementary
#317F7D #7F315A #7F5631
monochromatic
#0F2726 #205352 #317F7D #42ABA8 #66C4C2

Accessibility & contrast

On white

4.71
#317F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#317F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317F7D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F7D#FFFFFF#000000##FFFFFF
##317F7D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77797D
Deuteranopia (green-blind)
#6B707E
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #317f7d;
/* rgb */ color: rgb(49, 127, 125);
/* oklch */ color: oklch(54.8% 0.076 192.8);
Tailwind
colors: {
  custom: {
    50: '#73a4a2',
    500: '#317f7d',
    950: '#000000',
  },
}
SCSS
$custom: #317f7d;
$custom-light: #73a4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#317f7d",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 125
  },
  "hsl": {
    "h": 178.462,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54836,
    "c": 0.07551,
    "h": 192.8
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#317F7D
secondary
#AB6062
accent
#5457D4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0F
muted
#7B7F7E

Preview Lab

Preview with #317F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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