#317CA5#317CA5

#317CA5 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.8% C 0.097 H 236.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#317CA5
RGBrgb(49, 124, 165)
HSLhsl(201, 54%, 42%)
HSVhsv(201, 70%, 65%)
CMYKcmyk(70.3%, 24.8%, 0%, 35.3%)
CIE-LABlab(49.23, -9.40, -28.61)
CIE-LCHlch(49.23, 30.12, 251.81°)
OKLaboklab(55.81% -0.0538 -0.0805)
OKLCHoklch(55.81% 0.097 236.3)
XYZxyz(15.2631, 17.7832, 38.2181)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CA5 #A55A31
analogous
#31A594 #317CA5 #3142A5
triadic
#317CA5 #A5317C #7CA531
tetradic
#317CA5 #9431A5 #A55A31 #42A531
square
#317CA5 #9431A5 #A55A31 #42A531
split-complementary
#317CA5 #A53142 #A59431
monochromatic
#153547 #235976 #317CA5 #4A9CC9 #79B6D7

Accessibility & contrast

On white

4.61
#317CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#317CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317CA5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CA5#FFFFFF#000000##FFFFFF
##317CA51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687BA7
Deuteranopia (green-blind)
#5970A4
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317ca5;
/* rgb */ color: rgb(49, 124, 165);
/* oklch */ color: oklch(55.8% 0.097 236.3);
Tailwind
colors: {
  custom: {
    50: '#77a1c0',
    500: '#317ca5',
    950: '#000000',
  },
}
SCSS
$custom: #317ca5;
$custom-light: #77a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#317ca5",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 165
  },
  "hsl": {
    "h": 201.207,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55808,
    "c": 0.0968,
    "h": 236.3
  },
  "luminance": 0.17785
}

Semantic roles & 50–950 ramp

primary
#317CA5
secondary
#C08E72
accent
#7E4ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #317CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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