#317CC5#317CC5

#317CC5 is a mid, vivid cyan. Relative luminance 0.191; OKLCH L 57.6% C 0.134 H 250.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#317CC5
RGBrgb(49, 124, 197)
HSLhsl(210, 60%, 48%)
HSVhsv(210, 75%, 77%)
CMYKcmyk(75.1%, 37.1%, 0%, 22.7%)
CIE-LABlab(50.80, 2.08, -44.61)
CIE-LCHlch(50.80, 44.66, 272.67°)
OKLaboklab(57.56% -0.044 -0.1271)
OKLCHoklch(57.56% 0.134 250.9)
XYZxyz(18.5485, 19.0974, 55.5211)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CC5 #C57A31
analogous
#31C5C4 #317CC5 #3132C5
triadic
#317CC5 #C5317C #7CC531
tetradic
#317CC5 #C431C5 #C57A31 #32C531
square
#317CC5 #C431C5 #C57A31 #32C531
split-complementary
#317CC5 #C53132 #C5C431
monochromatic
#193E63 #255D94 #317CC5 #5D9AD7 #8EB9E3

Accessibility & contrast

On white

4.36
#317CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#317CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CC5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CC5#FFFFFF#000000##000000
##317CC51.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A80C8
Deuteranopia (green-blind)
#4473C4
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317cc5;
/* rgb */ color: rgb(49, 124, 197);
/* oklch */ color: oklch(57.6% 0.134 250.9);
Tailwind
colors: {
  custom: {
    50: '#7da1d7',
    500: '#317cc5',
    950: '#000000',
  },
}
SCSS
$custom: #317cc5;
$custom-light: #7da1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#317cc5",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 197
  },
  "hsl": {
    "h": 209.595,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5756,
    "c": 0.13449,
    "h": 250.9
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

primary
#317CC5
secondary
#CDA885
accent
#9344E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #317CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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