#317BA5#317BA5

#317BA5 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.6% C 0.097 H 237.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#317BA5
RGBrgb(49, 123, 165)
HSLhsl(202, 54%, 42%)
HSVhsv(202, 70%, 65%)
CMYKcmyk(70.3%, 25.5%, 0%, 35.3%)
CIE-LABlab(48.93, -8.82, -29.09)
CIE-LCHlch(48.93, 30.40, 253.13°)
OKLaboklab(55.56% -0.0527 -0.0819)
OKLCHoklch(55.56% 0.097 237.2)
XYZxyz(15.1385, 17.5338, 38.1766)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BA5 #A55B31
analogous
#31A595 #317BA5 #3141A5
triadic
#317BA5 #A5317B #7BA531
tetradic
#317BA5 #9531A5 #A55B31 #41A531
square
#317BA5 #9531A5 #A55B31 #41A531
split-complementary
#317BA5 #A53141 #A59531
monochromatic
#153547 #235876 #317BA5 #4A9BC9 #79B5D7

Accessibility & contrast

On white

4.66
#317BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#317BA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317BA5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BA5#FFFFFF#000000##FFFFFF
##317BA51.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677BA7
Deuteranopia (green-blind)
#576FA4
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #317ba5;
/* rgb */ color: rgb(49, 123, 165);
/* oklch */ color: oklch(55.6% 0.097 237.2);
Tailwind
colors: {
  custom: {
    50: '#77a1c0',
    500: '#317ba5',
    950: '#000000',
  },
}
SCSS
$custom: #317ba5;
$custom-light: #77a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#317ba5",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 165
  },
  "hsl": {
    "h": 201.724,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55564,
    "c": 0.09739,
    "h": 237.2
  },
  "luminance": 0.17535
}

Semantic roles & 50–950 ramp

primary
#317BA5
secondary
#C08E72
accent
#804ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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