#317AC1#317AC1

#317AC1 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.9% C 0.131 H 250.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#317AC1
RGBrgb(49, 122, 193)
HSLhsl(210, 60%, 47%)
HSVhsv(210, 75%, 76%)
CMYKcmyk(74.6%, 36.8%, 0%, 24.3%)
CIE-LABlab(50.00, 1.83, -43.59)
CIE-LCHlch(50.00, 43.62, 272.41°)
OKLaboklab(56.86% -0.0432 -0.1241)
OKLCHoklch(56.86% 0.131 250.8)
XYZxyz(17.8482, 18.4203, 53.0565)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AC1 #C17831
analogous
#31C1C0 #317AC1 #3132C1
triadic
#317AC1 #C1317A #7AC131
tetradic
#317AC1 #C031C1 #C17831 #32C131
square
#317AC1 #C031C1 #C17831 #32C131
split-complementary
#317AC1 #C13132 #C1C031
monochromatic
#183C5F #255B90 #317AC1 #5A98D5 #8BB7E2

Accessibility & contrast

On white

4.48
#317AC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#317AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317AC1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AC1#FFFFFF#000000##000000
##317AC11.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#597EC4
Deuteranopia (green-blind)
#4471C0
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317ac1;
/* rgb */ color: rgb(49, 122, 193);
/* oklch */ color: oklch(56.9% 0.131 250.8);
Tailwind
colors: {
  custom: {
    50: '#7ca0d4',
    500: '#317ac1',
    950: '#000000',
  },
}
SCSS
$custom: #317ac1;
$custom-light: #7ca0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#317ac1",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 193
  },
  "hsl": {
    "h": 209.583,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56864,
    "c": 0.13142,
    "h": 250.8
  },
  "luminance": 0.18422
}

Semantic roles & 50–950 ramp

primary
#317AC1
secondary
#CCA682
accent
#9345E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #317AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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