#317E86#317E86

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

Color values

HEX#317E86
RGBrgb(49, 126, 134)
HSLhsl(186, 46%, 36%)
HSVhsv(186, 63%, 53%)
CMYKcmyk(63.4%, 6%, 0%, 47.5%)
CIE-LABlab(48.63, -20.77, -11.37)
CIE-LCHlch(48.63, 23.68, 208.69°)
OKLaboklab(54.92% -0.0684 -0.0315)
OKLCHoklch(54.92% 0.075 204.7)
XYZxyz(13.0287, 17.2945, 25.2012)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E86 #863931
analogous
#318663 #317E86 #315386
triadic
#317E86 #86317E #7E8631
tetradic
#317E86 #633186 #863931 #538631
square
#317E86 #633186 #863931 #538631
split-complementary
#317E86 #863153 #866331
monochromatic
#102A2C #215459 #317E86 #41A8B3 #69BFC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317E86#FFFFFF#000000##FFFFFF
##317E861.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)
#747987
Deuteranopia (green-blind)
#676F86
Tritanopia (blue-blind)
#008380
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #317e86;
/* rgb */ color: rgb(49, 126, 134);
/* oklch */ color: oklch(54.9% 0.075 204.7);
Tailwind
colors: {
  custom: {
    50: '#74a3a9',
    500: '#317e86',
    950: '#000000',
  },
}
SCSS
$custom: #317e86;
$custom-light: #74a3a9;
$custom-dark: #000000;
JSON
{
  "hex": "#317e86",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 134
  },
  "hsl": {
    "h": 185.647,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54919,
    "c": 0.07528,
    "h": 204.7
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#317E86
secondary
#B06A63
accent
#5E52D6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F0F
muted
#7B7F7F

Preview Lab

Preview with #317E86

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

Preview Lab → · Contrast checker → · Palette generator →

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