#317CA8#317CA8

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

Color values

HEX#317CA8
RGBrgb(49, 124, 168)
HSLhsl(202, 55%, 43%)
HSVhsv(202, 71%, 66%)
CMYKcmyk(70.8%, 26.2%, 0%, 34.1%)
CIE-LABlab(49.37, -8.35, -30.15)
CIE-LCHlch(49.37, 31.28, 254.52°)
OKLaboklab(55.96% -0.0527 -0.0849)
OKLCHoklch(55.96% 0.1 238.2)
XYZxyz(15.5394, 17.8937, 39.6731)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CA8 #A85D31
analogous
#31A899 #317CA8 #3140A8
triadic
#317CA8 #A8317C #7CA831
tetradic
#317CA8 #9931A8 #A85D31 #40A831
square
#317CA8 #9931A8 #A85D31 #40A831
split-complementary
#317CA8 #A83140 #A89931
monochromatic
#153649 #235979 #317CA8 #4C9CCB #7BB6D8

Accessibility & contrast

On white

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

On black

4.58
#317CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317CA8#FFFFFF#000000##FFFFFF
##317CA81.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677CAA
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317ca8;
/* rgb */ color: rgb(49, 124, 168);
/* oklch */ color: oklch(56.0% 0.100 238.2);
Tailwind
colors: {
  custom: {
    50: '#78a1c2',
    500: '#317ca8',
    950: '#000000',
  },
}
SCSS
$custom: #317ca8;
$custom-light: #78a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#317ca8",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 168
  },
  "hsl": {
    "h": 202.185,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55959,
    "c": 0.09997,
    "h": 238.2
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#317CA8
secondary
#C19074
accent
#814ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #317CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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