#317EC5#317EC5

#317EC5 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.0% C 0.133 H 249.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#317EC5
RGBrgb(49, 126, 197)
HSLhsl(209, 60%, 48%)
HSVhsv(209, 75%, 77%)
CMYKcmyk(75.1%, 36%, 0%, 22.7%)
CIE-LABlab(51.39, 0.88, -43.68)
CIE-LCHlch(51.39, 43.69, 271.15°)
OKLaboklab(58.02% -0.0459 -0.1243)
OKLCHoklch(58.02% 0.133 249.7)
XYZxyz(18.8017, 19.6037, 55.6055)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EC5 #C57831
analogous
#31C5C2 #317EC5 #3134C5
triadic
#317EC5 #C5317E #7EC531
tetradic
#317EC5 #C231C5 #C57831 #34C531
square
#317EC5 #C231C5 #C57831 #34C531
split-complementary
#317EC5 #C53134 #C5C231
monochromatic
#193F63 #255F94 #317EC5 #5D9CD7 #8EBAE3

Accessibility & contrast

On white

4.27
#317EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#317EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EC5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EC5#FFFFFF#000000##000000
##317EC51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C8
Deuteranopia (green-blind)
#4774C4
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317ec5;
/* rgb */ color: rgb(49, 126, 197);
/* oklch */ color: oklch(58.0% 0.133 249.7);
Tailwind
colors: {
  custom: {
    50: '#7da3d7',
    500: '#317ec5',
    950: '#000000',
  },
}
SCSS
$custom: #317ec5;
$custom-light: #7da3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#317ec5",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 208.784,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58019,
    "c": 0.13251,
    "h": 249.7
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#317EC5
secondary
#CDA785
accent
#9144E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #317EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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