#317F89#317F89

#317F89 is a mid, moderate teal. Relative luminance 0.176; OKLCH L 55.3% C 0.076 H 206.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#317F89
RGBrgb(49, 127, 137)
HSLhsl(187, 47%, 36%)
HSVhsv(187, 64%, 54%)
CMYKcmyk(64.2%, 7.3%, 0%, 46.3%)
CIE-LABlab(49.05, -20.36, -12.49)
CIE-LCHlch(49.05, 23.89, 211.53°)
OKLaboklab(55.3% -0.0682 -0.0346)
OKLCHoklch(55.3% 0.076 206.9)
XYZxyz(13.3695, 17.6364, 26.3616)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F89 #893B31
analogous
#318967 #317F89 #315389
triadic
#317F89 #89317F #7F8931
tetradic
#317F89 #673189 #893B31 #538931
square
#317F89 #673189 #893B31 #538931
split-complementary
#317F89 #893153 #896731
monochromatic
#112B2F #21555C #317F89 #41A9B6 #6BBFCA

Accessibility & contrast

On white

4.64
#317F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317F89
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F89#FFFFFF#000000##FFFFFF
##317F891.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757A8A
Deuteranopia (green-blind)
#677089
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317f89;
/* rgb */ color: rgb(49, 127, 137);
/* oklch */ color: oklch(55.3% 0.076 206.9);
Tailwind
colors: {
  custom: {
    50: '#74a4ab',
    500: '#317f89',
    950: '#000000',
  },
}
SCSS
$custom: #317f89;
$custom-light: #74a4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#317f89",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 137
  },
  "hsl": {
    "h": 186.818,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55295,
    "c": 0.07647,
    "h": 206.9
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#317F89
secondary
#B16D64
accent
#6051D7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #317F89

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

Preview Lab → · Contrast checker → · Palette generator →

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