#317D9D#317D9D

#317D9D is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.7% C 0.089 H 229.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#317D9D
RGBrgb(49, 125, 157)
HSLhsl(198, 52%, 40%)
HSVhsv(198, 69%, 62%)
CMYKcmyk(68.8%, 20.4%, 0%, 38.4%)
CIE-LABlab(49.20, -12.72, -24.00)
CIE-LCHlch(49.20, 27.17, 242.07°)
OKLaboklab(55.66% -0.0578 -0.0672)
OKLCHoklch(55.66% 0.089 229.3)
XYZxyz(14.6836, 17.7529, 34.5446)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D9D #9D5131
analogous
#319D87 #317D9D #31479D
triadic
#317D9D #9D317D #7D9D31
tetradic
#317D9D #87319D #9D5131 #479D31
square
#317D9D #87319D #9D5131 #479D31
split-complementary
#317D9D #9D3147 #9D8731
monochromatic
#143340 #22586E #317D9D #46A0C5 #75B8D4

Accessibility & contrast

On white

4.61
#317D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#317D9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317D9D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D9D#FFFFFF#000000##FFFFFF
##317D9D1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7B9F
Deuteranopia (green-blind)
#5E709D
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317d9d;
/* rgb */ color: rgb(49, 125, 157);
/* oklch */ color: oklch(55.7% 0.089 229.3);
Tailwind
colors: {
  custom: {
    50: '#76a2ba',
    500: '#317d9d',
    950: '#000000',
  },
}
SCSS
$custom: #317d9d;
$custom-light: #76a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#317d9d",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 157
  },
  "hsl": {
    "h": 197.778,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55664,
    "c": 0.08863,
    "h": 229.3
  },
  "luminance": 0.17755
}

Semantic roles & 50–950 ramp

primary
#317D9D
secondary
#BC856E
accent
#774CDC
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #317D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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