#317AC5#317AC5

#317AC5 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.1% C 0.137 H 252.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#317AC5
RGBrgb(49, 122, 197)
HSLhsl(210, 60%, 48%)
HSVhsv(210, 75%, 77%)
CMYKcmyk(75.1%, 38.1%, 0%, 22.7%)
CIE-LABlab(50.22, 3.30, -45.54)
CIE-LCHlch(50.22, 45.65, 274.15°)
OKLaboklab(57.1% -0.0422 -0.1298)
OKLCHoklch(57.1% 0.137 252)
XYZxyz(18.3004, 18.6012, 55.4384)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AC5 #C57C31
analogous
#31C4C5 #317AC5 #3231C5
triadic
#317AC5 #C5317A #7AC531
tetradic
#317AC5 #C531C4 #C57C31 #31C532
square
#317AC5 #C531C4 #C57C31 #31C532
split-complementary
#317AC5 #C53231 #C4C531
monochromatic
#193D63 #255C94 #317AC5 #5D99D7 #8EB8E3

Accessibility & contrast

On white

4.45
#317AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#317AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317AC5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AC5#FFFFFF#000000##000000
##317AC51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC8
Deuteranopia (green-blind)
#4071C4
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317ac5;
/* rgb */ color: rgb(49, 122, 197);
/* oklch */ color: oklch(57.1% 0.137 252.0);
Tailwind
colors: {
  custom: {
    50: '#7da0d7',
    500: '#317ac5',
    950: '#000000',
  },
}
SCSS
$custom: #317ac5;
$custom-light: #7da0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#317ac5",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 197
  },
  "hsl": {
    "h": 210.405,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.1365,
    "h": 252
  },
  "luminance": 0.18603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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