#317CA7#317CA7

#317CA7 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.9% C 0.099 H 237.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#317CA7
RGBrgb(49, 124, 167)
HSLhsl(202, 55%, 42%)
HSVhsv(202, 71%, 65%)
CMYKcmyk(70.7%, 25.7%, 0%, 34.5%)
CIE-LABlab(49.32, -8.70, -29.64)
CIE-LCHlch(49.32, 30.89, 253.64°)
OKLaboklab(55.91% -0.0531 -0.0834)
OKLCHoklch(55.91% 0.099 237.5)
XYZxyz(15.4466, 17.8566, 39.1843)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CA7 #A75C31
analogous
#31A797 #317CA7 #3141A7
triadic
#317CA7 #A7317C #7CA731
tetradic
#317CA7 #9731A7 #A75C31 #41A731
square
#317CA7 #9731A7 #A75C31 #41A731
split-complementary
#317CA7 #A73141 #A79731
monochromatic
#153648 #235978 #317CA7 #4B9CCA #7AB6D8

Accessibility & contrast

On white

4.59
#317CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#317CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317CA7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CA7#FFFFFF#000000##FFFFFF
##317CA71.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687CA9
Deuteranopia (green-blind)
#5870A6
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317ca7;
/* rgb */ color: rgb(49, 124, 167);
/* oklch */ color: oklch(55.9% 0.099 237.5);
Tailwind
colors: {
  custom: {
    50: '#78a1c1',
    500: '#317ca7',
    950: '#000000',
  },
}
SCSS
$custom: #317ca7;
$custom-light: #78a1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#317ca7",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 201.864,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55909,
    "c": 0.0989,
    "h": 237.5
  },
  "luminance": 0.17858
}

Semantic roles & 50–950 ramp

primary
#317CA7
secondary
#C18F73
accent
#804ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #317CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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