#317CAC#317CAC

#317CAC is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.2% C 0.104 H 240.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#317CAC
RGBrgb(49, 124, 172)
HSLhsl(203, 56%, 43%)
HSVhsv(203, 72%, 67%)
CMYKcmyk(71.5%, 27.9%, 0%, 32.5%)
CIE-LABlab(49.55, -6.94, -32.18)
CIE-LCHlch(49.55, 32.92, 257.83°)
OKLaboklab(56.17% -0.0514 -0.0908)
OKLCHoklch(56.17% 0.104 240.5)
XYZxyz(15.9178, 18.0451, 41.6659)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CAC #AC6131
analogous
#31AC9E #317CAC #313EAC
triadic
#317CAC #AC317C #7CAC31
tetradic
#317CAC #9E31AC #AC6131 #3EAC31
square
#317CAC #9E31AC #AC6131 #3EAC31
split-complementary
#317CAC #AC313E #AC9E31
monochromatic
#16374D #235A7C #317CAC #4E9BCC #7DB6DA

Accessibility & contrast

On white

4.56
#317CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#317CAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CAC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CAC#FFFFFF#000000##000000
##317CAC1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAE
Deuteranopia (green-blind)
#5571AB
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317cac;
/* rgb */ color: rgb(49, 124, 172);
/* oklch */ color: oklch(56.2% 0.104 240.5);
Tailwind
colors: {
  custom: {
    50: '#79a1c5',
    500: '#317cac',
    950: '#000000',
  },
}
SCSS
$custom: #317cac;
$custom-light: #79a1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#317cac",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 172
  },
  "hsl": {
    "h": 203.415,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56166,
    "c": 0.10436,
    "h": 240.5
  },
  "luminance": 0.18047
}

Semantic roles & 50–950 ramp

primary
#317CAC
secondary
#C39476
accent
#8349DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #317CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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