#317BC5#317BC5

#317BC5 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.3% C 0.135 H 251.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#317BC5
RGBrgb(49, 123, 197)
HSLhsl(210, 60%, 48%)
HSVhsv(210, 75%, 77%)
CMYKcmyk(75.1%, 37.6%, 0%, 22.7%)
CIE-LABlab(50.51, 2.69, -45.07)
CIE-LCHlch(50.51, 45.15, 273.42°)
OKLaboklab(57.33% -0.0431 -0.1284)
OKLCHoklch(57.33% 0.135 251.4)
XYZxyz(18.4238, 18.8480, 55.4795)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BC5 #C57B31
analogous
#31C5C5 #317BC5 #3131C5
triadic
#317BC5 #C5317B #7BC531
tetradic
#317BC5 #C531C5 #C57B31 #31C531
square
#317BC5 #C531C5 #C57B31 #31C531
split-complementary
#317BC5 #C53131 #C5C531
monochromatic
#193E63 #255C94 #317BC5 #5D9AD7 #8EB8E3

Accessibility & contrast

On white

4.40
#317BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#317BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317BC5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BC5#FFFFFF#000000##000000
##317BC51.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5980C8
Deuteranopia (green-blind)
#4272C4
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317bc5;
/* rgb */ color: rgb(49, 123, 197);
/* oklch */ color: oklch(57.3% 0.135 251.4);
Tailwind
colors: {
  custom: {
    50: '#7da0d7',
    500: '#317bc5',
    950: '#000000',
  },
}
SCSS
$custom: #317bc5;
$custom-light: #7da0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#317bc5",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 210,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57331,
    "c": 0.13549,
    "h": 251.4
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

primary
#317BC5
secondary
#CDA985
accent
#9444E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #317BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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