#317CC4#317CC4

#317CC4 is a mid, vivid cyan. Relative luminance 0.191; OKLCH L 57.5% C 0.133 H 250.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#317CC4
RGBrgb(49, 124, 196)
HSLhsl(209, 60%, 48%)
HSVhsv(209, 75%, 77%)
CMYKcmyk(75%, 36.7%, 0%, 23.1%)
CIE-LABlab(50.75, 1.72, -44.12)
CIE-LCHlch(50.75, 44.15, 272.23°)
OKLaboklab(57.5% -0.0443 -0.1256)
OKLCHoklch(57.5% 0.133 250.6)
XYZxyz(18.4343, 19.0517, 54.9196)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CC4 #C47931
analogous
#31C4C2 #317CC4 #3132C4
triadic
#317CC4 #C4317C #7CC431
tetradic
#317CC4 #C231C4 #C47931 #32C431
square
#317CC4 #C231C4 #C47931 #32C431
split-complementary
#317CC4 #C43132 #C4C231
monochromatic
#193E62 #255D93 #317CC4 #5C9AD6 #8DB9E2

Accessibility & contrast

On white

4.37
#317CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#317CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CC4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CC4#FFFFFF#000000##000000
##317CC41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B80C7
Deuteranopia (green-blind)
#4573C3
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317cc4;
/* rgb */ color: rgb(49, 124, 196);
/* oklch */ color: oklch(57.5% 0.133 250.6);
Tailwind
colors: {
  custom: {
    50: '#7da1d6',
    500: '#317cc4',
    950: '#000000',
  },
}
SCSS
$custom: #317cc4;
$custom-light: #7da1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#317cc4",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 196
  },
  "hsl": {
    "h": 209.388,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.13322,
    "h": 250.6
  },
  "luminance": 0.19054
}

Semantic roles & 50–950 ramp

primary
#317CC4
secondary
#CDA884
accent
#9245E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #317CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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