#317A7D#317A7D

#317A7D is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.5% C 0.072 H 199.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#317A7D
RGBrgb(49, 122, 125)
HSLhsl(182, 44%, 34%)
HSVhsv(182, 61%, 49%)
CMYKcmyk(60.8%, 2.4%, 0%, 51%)
CIE-LABlab(47.04, -21.41, -8.43)
CIE-LCHlch(47.04, 23.01, 201.49°)
OKLaboklab(53.54% -0.0679 -0.0233)
OKLCHoklch(53.54% 0.072 199)
XYZxyz(11.9263, 16.0515, 21.8678)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A7D #7D3431
analogous
#317D5A #317A7D #31547D
triadic
#317A7D #7D317A #7A7D31
tetradic
#317A7D #5A317D #7D3431 #547D31
square
#317A7D #5A317D #7D3431 #547D31
split-complementary
#317A7D #7D3154 #7D5A31
monochromatic
#0F2425 #204F51 #317A7D #42A5A9 #66BFC3

Accessibility & contrast

On white

4.99
#317A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#317A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A7D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A7D#FFFFFF#000000##FFFFFF
##317A7D1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72757D
Deuteranopia (green-blind)
#666C7D
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #317a7d;
/* rgb */ color: rgb(49, 122, 125);
/* oklch */ color: oklch(53.5% 0.072 199.0);
Tailwind
colors: {
  custom: {
    50: '#72a0a2',
    500: '#317a7d',
    950: '#000000',
  },
}
SCSS
$custom: #317a7d;
$custom-light: #72a0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#317a7d",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 125
  },
  "hsl": {
    "h": 182.368,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.07177,
    "h": 199
  },
  "luminance": 0.16053
}

Semantic roles & 50–950 ramp

primary
#317A7D
secondary
#AA6360
accent
#5954D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0F
muted
#7B7E7E

Preview Lab

Preview with #317A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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