#317C8D#317C8D

#317C8D is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.7% C 0.077 H 215.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#317C8D
RGBrgb(49, 124, 141)
HSLhsl(191, 48%, 37%)
HSVhsv(191, 65%, 55%)
CMYKcmyk(65.2%, 12.1%, 0%, 44.7%)
CIE-LABlab(48.25, -17.48, -16.07)
CIE-LCHlch(48.25, 23.74, 222.60°)
OKLaboklab(54.7% -0.0631 -0.0447)
OKLCHoklch(54.7% 0.077 215.3)
XYZxyz(13.2800, 16.9900, 27.7737)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C8D #8D4231
analogous
#318D70 #317C8D #314E8D
triadic
#317C8D #8D317C #7C8D31
tetradic
#317C8D #70318D #8D4231 #4E8D31
square
#317C8D #70318D #8D4231 #4E8D31
split-complementary
#317C8D #8D314E #8D7031
monochromatic
#112C32 #215460 #317C8D #41A4BA #6CBACC

Accessibility & contrast

On white

4.77
#317C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#317C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317C8D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317C8D#FFFFFF#000000##FFFFFF
##317C8D1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70788E
Deuteranopia (green-blind)
#636E8D
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #317c8d;
/* rgb */ color: rgb(49, 124, 141);
/* oklch */ color: oklch(54.7% 0.077 215.3);
Tailwind
colors: {
  custom: {
    50: '#74a2ae',
    500: '#317c8d',
    950: '#000000',
  },
}
SCSS
$custom: #317c8d;
$custom-light: #74a2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#317c8d",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 141
  },
  "hsl": {
    "h": 191.087,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.0773,
    "h": 215.3
  },
  "luminance": 0.16991
}

Semantic roles & 50–950 ramp

primary
#317C8D
secondary
#B47566
accent
#6950D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #317C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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