#317FC5#317FC5

#317FC5 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.2% C 0.132 H 249.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#317FC5
RGBrgb(49, 127, 197)
HSLhsl(208, 60%, 48%)
HSVhsv(208, 75%, 77%)
CMYKcmyk(75.1%, 35.5%, 0%, 22.7%)
CIE-LABlab(51.68, 0.27, -43.22)
CIE-LCHlch(51.68, 43.22, 270.36°)
OKLaboklab(58.25% -0.0468 -0.1229)
OKLCHoklch(58.25% 0.132 249.2)
XYZxyz(18.9302, 19.8607, 55.6483)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FC5 #C57731
analogous
#31C5C1 #317FC5 #3135C5
triadic
#317FC5 #C5317F #7FC531
tetradic
#317FC5 #C131C5 #C57731 #35C531
square
#317FC5 #C131C5 #C57731 #35C531
split-complementary
#317FC5 #C53135 #C5C131
monochromatic
#194063 #255F94 #317FC5 #5D9DD7 #8EBBE3

Accessibility & contrast

On white

4.22
#317FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#317FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FC5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FC5#FFFFFF#000000##000000
##317FC51.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C8
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#009099
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #317fc5;
/* rgb */ color: rgb(49, 127, 197);
/* oklch */ color: oklch(58.2% 0.132 249.2);
Tailwind
colors: {
  custom: {
    50: '#7da3d7',
    500: '#317fc5',
    950: '#000000',
  },
}
SCSS
$custom: #317fc5;
$custom-light: #7da3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#317fc5",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 208.378,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58249,
    "c": 0.13154,
    "h": 249.2
  },
  "luminance": 0.19863
}

Semantic roles & 50–950 ramp

primary
#317FC5
secondary
#CDA785
accent
#9044E3
background
#F8FAFD
surface
#EFF3FA
border
#CACDD3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #317FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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