#317D8D#317D8D

#317D8D is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 54.9% C 0.077 H 214.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#317D8D
RGBrgb(49, 125, 141)
HSLhsl(190, 48%, 37%)
HSVhsv(190, 65%, 55%)
CMYKcmyk(65.2%, 11.3%, 0%, 44.7%)
CIE-LABlab(48.56, -18.02, -15.59)
CIE-LCHlch(48.56, 23.83, 220.86°)
OKLaboklab(54.95% -0.0642 -0.0433)
OKLCHoklch(54.95% 0.077 214)
XYZxyz(13.4060, 17.2419, 27.8156)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D8D #8D4131
analogous
#318D6F #317D8D #314F8D
triadic
#317D8D #8D317D #7D8D31
tetradic
#317D8D #6F318D #8D4131 #4F8D31
square
#317D8D #6F318D #8D4131 #4F8D31
split-complementary
#317D8D #8D314F #8D6F31
monochromatic
#112C32 #215560 #317D8D #41A5BA #6CBBCC

Accessibility & contrast

On white

4.72
#317D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#317D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D8D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D8D#FFFFFF#000000##FFFFFF
##317D8D1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71798E
Deuteranopia (green-blind)
#646F8D
Tritanopia (blue-blind)
#008382
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #317d8d;
/* rgb */ color: rgb(49, 125, 141);
/* oklch */ color: oklch(54.9% 0.077 214.0);
Tailwind
colors: {
  custom: {
    50: '#74a2ae',
    500: '#317d8d',
    950: '#000000',
  },
}
SCSS
$custom: #317d8d;
$custom-light: #74a2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#317d8d",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 141
  },
  "hsl": {
    "h": 190.435,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54949,
    "c": 0.07744,
    "h": 214
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#317D8D
secondary
#B47466
accent
#6750D8
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #317D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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