#317B87#317B87

#317B87 is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.2% C 0.074 H 209.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#317B87
RGBrgb(49, 123, 135)
HSLhsl(188, 47%, 36%)
HSVhsv(188, 64%, 53%)
CMYKcmyk(63.7%, 8.9%, 0%, 47.1%)
CIE-LABlab(47.71, -18.85, -13.35)
CIE-LCHlch(47.71, 23.10, 215.30°)
OKLaboklab(54.19% -0.0645 -0.037)
OKLCHoklch(54.19% 0.074 209.8)
XYZxyz(12.7209, 16.5668, 25.4443)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B87 #873D31
analogous
#318768 #317B87 #315087
triadic
#317B87 #87317B #7B8731
tetradic
#317B87 #683187 #873D31 #508731
square
#317B87 #683187 #873D31 #508731
split-complementary
#317B87 #873150 #876831
monochromatic
#10292D #21525A #317B87 #41A4B4 #6ABCC9

Accessibility & contrast

On white

4.87
#317B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#317B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B87
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B87#FFFFFF#000000##FFFFFF
##317B871.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707788
Deuteranopia (green-blind)
#646D87
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #317b87;
/* rgb */ color: rgb(49, 123, 135);
/* oklch */ color: oklch(54.2% 0.074 209.8);
Tailwind
colors: {
  custom: {
    50: '#73a1aa',
    500: '#317b87',
    950: '#000000',
  },
}
SCSS
$custom: #317b87;
$custom-light: #73a1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#317b87",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 135
  },
  "hsl": {
    "h": 188.372,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5419,
    "c": 0.0744,
    "h": 209.8
  },
  "luminance": 0.16568
}

Semantic roles & 50–950 ramp

primary
#317B87
secondary
#B06E64
accent
#6451D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #317B87

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

Preview Lab → · Contrast checker → · Palette generator →

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