#317E8A#317E8A

#317E8A is a mid, moderate teal. Relative luminance 0.174; OKLCH L 55.1% C 0.076 H 209.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#317E8A
RGBrgb(49, 126, 138)
HSLhsl(188, 48%, 37%)
HSVhsv(188, 64%, 54%)
CMYKcmyk(64.5%, 8.7%, 0%, 45.9%)
CIE-LABlab(48.77, -19.52, -13.51)
CIE-LCHlch(48.77, 23.73, 214.69°)
OKLaboklab(55.08% -0.0666 -0.0375)
OKLCHoklch(55.08% 0.076 209.4)
XYZxyz(13.3130, 17.4082, 26.6983)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E8A #8A3D31
analogous
#318A6A #317E8A #31528A
triadic
#317E8A #8A317E #7E8A31
tetradic
#317E8A #6A318A #8A3D31 #528A31
square
#317E8A #6A318A #8A3D31 #528A31
split-complementary
#317E8A #8A3152 #8A6A31
monochromatic
#112C30 #21555D #317E8A #41A7B7 #6BBECA

Accessibility & contrast

On white

4.69
#317E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#317E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E8A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E8A#FFFFFF#000000##FFFFFF
##317E8A1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73798B
Deuteranopia (green-blind)
#66708A
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #317e8a;
/* rgb */ color: rgb(49, 126, 138);
/* oklch */ color: oklch(55.1% 0.076 209.4);
Tailwind
colors: {
  custom: {
    50: '#74a3ac',
    500: '#317e8a',
    950: '#000000',
  },
}
SCSS
$custom: #317e8a;
$custom-light: #74a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#317e8a",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 188.09,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5508,
    "c": 0.07642,
    "h": 209.4
  },
  "luminance": 0.1741
}

Semantic roles & 50–950 ramp

primary
#317E8A
secondary
#B26F65
accent
#6351D7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #317E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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