#317CA6#317CA6

#317CA6 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.098 H 236.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#317CA6
RGBrgb(49, 124, 166)
HSLhsl(202, 54%, 42%)
HSVhsv(202, 70%, 65%)
CMYKcmyk(70.5%, 25.3%, 0%, 34.9%)
CIE-LABlab(49.28, -9.05, -29.12)
CIE-LCHlch(49.28, 30.50, 252.73°)
OKLaboklab(55.86% -0.0534 -0.082)
OKLCHoklch(55.86% 0.098 236.9)
XYZxyz(15.3545, 17.8198, 38.6993)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CA6 #A65B31
analogous
#31A695 #317CA6 #3142A6
triadic
#317CA6 #A6317C #7CA631
tetradic
#317CA6 #9531A6 #A65B31 #42A631
square
#317CA6 #9531A6 #A65B31 #42A631
split-complementary
#317CA6 #A63142 #A69531
monochromatic
#153547 #235977 #317CA6 #4A9CCA #7AB6D8

Accessibility & contrast

On white

4.60
#317CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317CA6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CA6#FFFFFF#000000##FFFFFF
##317CA61.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687CA8
Deuteranopia (green-blind)
#5870A5
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317ca6;
/* rgb */ color: rgb(49, 124, 166);
/* oklch */ color: oklch(55.9% 0.098 236.9);
Tailwind
colors: {
  custom: {
    50: '#78a1c0',
    500: '#317ca6',
    950: '#000000',
  },
}
SCSS
$custom: #317ca6;
$custom-light: #78a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#317ca6",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 166
  },
  "hsl": {
    "h": 201.538,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55858,
    "c": 0.09784,
    "h": 236.9
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#317CA6
secondary
#C08E73
accent
#7F4ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #317CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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