#317E8D#317E8D

#317E8D is a mid, moderate teal. Relative luminance 0.175; OKLCH L 55.2% C 0.078 H 212.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#317E8D
RGBrgb(49, 126, 141)
HSLhsl(190, 48%, 37%)
HSVhsv(190, 65%, 55%)
CMYKcmyk(65.2%, 10.6%, 0%, 44.7%)
CIE-LABlab(48.88, -18.56, -15.11)
CIE-LCHlch(48.88, 23.93, 219.14°)
OKLaboklab(55.2% -0.0653 -0.0419)
OKLCHoklch(55.2% 0.078 212.7)
XYZxyz(13.5332, 17.4963, 27.8580)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E8D #8D4031
analogous
#318D6E #317E8D #31508D
triadic
#317E8D #8D317E #7E8D31
tetradic
#317E8D #6E318D #8D4031 #508D31
square
#317E8D #6E318D #8D4031 #508D31
split-complementary
#317E8D #8D3150 #8D6E31
monochromatic
#112D32 #215560 #317E8D #41A7BA #6CBCCC

Accessibility & contrast

On white

4.67
#317E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#317E8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317E8D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E8D#FFFFFF#000000##FFFFFF
##317E8D1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727A8E
Deuteranopia (green-blind)
#65708D
Tritanopia (blue-blind)
#008483
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #317e8d;
/* rgb */ color: rgb(49, 126, 141);
/* oklch */ color: oklch(55.2% 0.078 212.7);
Tailwind
colors: {
  custom: {
    50: '#74a3ae',
    500: '#317e8d',
    950: '#000000',
  },
}
SCSS
$custom: #317e8d;
$custom-light: #74a3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#317e8d",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 189.783,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.07763,
    "h": 212.7
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#317E8D
secondary
#B47366
accent
#6650D8
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #317E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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