#317CC1#317CC1

#317CC1 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.3% C 0.129 H 249.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#317CC1
RGBrgb(49, 124, 193)
HSLhsl(209, 60%, 47%)
HSVhsv(209, 75%, 76%)
CMYKcmyk(74.6%, 35.8%, 0%, 24.3%)
CIE-LABlab(50.59, 0.62, -42.65)
CIE-LCHlch(50.59, 42.66, 270.83°)
OKLaboklab(57.33% -0.0451 -0.1213)
OKLCHoklch(57.33% 0.129 249.6)
XYZxyz(18.0963, 18.9165, 53.1392)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CC1 #C17631
analogous
#31C1BE #317CC1 #3134C1
triadic
#317CC1 #C1317C #7CC131
tetradic
#317CC1 #BE31C1 #C17631 #34C131
square
#317CC1 #BE31C1 #C17631 #34C131
split-complementary
#317CC1 #C13134 #C1BE31
monochromatic
#183D5F #255D90 #317CC1 #5A9AD5 #8BB8E2

Accessibility & contrast

On white

4.39
#317CC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#317CC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CC1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CC1#FFFFFF#000000##000000
##317CC11.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C80C4
Deuteranopia (green-blind)
#4772C0
Tritanopia (blue-blind)
#008C95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317cc1;
/* rgb */ color: rgb(49, 124, 193);
/* oklch */ color: oklch(57.3% 0.129 249.6);
Tailwind
colors: {
  custom: {
    50: '#7ca1d4',
    500: '#317cc1',
    950: '#000000',
  },
}
SCSS
$custom: #317cc1;
$custom-light: #7ca1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#317cc1",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 193
  },
  "hsl": {
    "h": 208.75,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57325,
    "c": 0.12946,
    "h": 249.6
  },
  "luminance": 0.18919
}

Semantic roles & 50–950 ramp

primary
#317CC1
secondary
#CCA582
accent
#9145E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #317CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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