#317FA5#317FA5

#317FA5 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.095 H 233.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#317FA5
RGBrgb(49, 127, 165)
HSLhsl(200, 54%, 42%)
HSVhsv(200, 70%, 65%)
CMYKcmyk(70.3%, 23%, 0%, 35.3%)
CIE-LABlab(50.15, -11.12, -27.18)
CIE-LCHlch(50.15, 29.37, 247.75°)
OKLaboklab(56.54% -0.0569 -0.0763)
OKLCHoklch(56.54% 0.095 233.3)
XYZxyz(15.6448, 18.5466, 38.3453)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FA5 #A55731
analogous
#31A591 #317FA5 #3145A5
triadic
#317FA5 #A5317F #7FA531
tetradic
#317FA5 #9131A5 #A55731 #45A531
square
#317FA5 #9131A5 #A55731 #45A531
split-complementary
#317FA5 #A53145 #A59131
monochromatic
#153647 #235B76 #317FA5 #4AA0C9 #79B8D7

Accessibility & contrast

On white

4.46
#317FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#317FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FA5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FA5#FFFFFF#000000##000000
##317FA51.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA7
Deuteranopia (green-blind)
#5C72A4
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317fa5;
/* rgb */ color: rgb(49, 127, 165);
/* oklch */ color: oklch(56.5% 0.095 233.3);
Tailwind
colors: {
  custom: {
    50: '#78a4c0',
    500: '#317fa5',
    950: '#000000',
  },
}
SCSS
$custom: #317fa5;
$custom-light: #78a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#317fa5",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 199.655,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5654,
    "c": 0.09521,
    "h": 233.3
  },
  "luminance": 0.18548
}

Semantic roles & 50–950 ramp

primary
#317FA5
secondary
#C08C72
accent
#7A4ADE
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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