#317DC5#317DC5

#317DC5 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.8% C 0.133 H 250.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#317DC5
RGBrgb(49, 125, 197)
HSLhsl(209, 60%, 48%)
HSVhsv(209, 75%, 77%)
CMYKcmyk(75.1%, 36.5%, 0%, 22.7%)
CIE-LABlab(51.09, 1.48, -44.14)
CIE-LCHlch(51.09, 44.17, 271.92°)
OKLaboklab(57.79% -0.0449 -0.1257)
OKLCHoklch(57.79% 0.133 250.3)
XYZxyz(18.6745, 19.3493, 55.5631)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DC5 #C57931
analogous
#31C5C3 #317DC5 #3133C5
triadic
#317DC5 #C5317D #7DC531
tetradic
#317DC5 #C331C5 #C57931 #33C531
square
#317DC5 #C331C5 #C57931 #33C531
split-complementary
#317DC5 #C53133 #C5C331
monochromatic
#193F63 #255E94 #317DC5 #5D9BD7 #8EB9E3

Accessibility & contrast

On white

4.31
#317DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#317DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DC5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DC5#FFFFFF#000000##000000
##317DC51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C8
Deuteranopia (green-blind)
#4673C4
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317dc5;
/* rgb */ color: rgb(49, 125, 197);
/* oklch */ color: oklch(57.8% 0.133 250.3);
Tailwind
colors: {
  custom: {
    50: '#7da2d7',
    500: '#317dc5',
    950: '#000000',
  },
}
SCSS
$custom: #317dc5;
$custom-light: #7da2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#317dc5",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 197
  },
  "hsl": {
    "h": 209.189,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57789,
    "c": 0.13349,
    "h": 250.3
  },
  "luminance": 0.19351
}

Semantic roles & 50–950 ramp

primary
#317DC5
secondary
#CDA885
accent
#9244E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #317DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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