#317AA5#317AA5

#317AA5 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.3% C 0.098 H 238.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#317AA5
RGBrgb(49, 122, 165)
HSLhsl(202, 54%, 42%)
HSVhsv(202, 70%, 65%)
CMYKcmyk(70.3%, 26.1%, 0%, 35.3%)
CIE-LABlab(48.62, -8.24, -29.57)
CIE-LCHlch(48.62, 30.69, 254.42°)
OKLaboklab(55.32% -0.0517 -0.0833)
OKLCHoklch(55.32% 0.098 238.2)
XYZxyz(15.0150, 17.2870, 38.1354)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AA5 #A55C31
analogous
#31A596 #317AA5 #3140A5
triadic
#317AA5 #A5317A #7AA531
tetradic
#317AA5 #9631A5 #A55C31 #40A531
square
#317AA5 #9631A5 #A55C31 #40A531
split-complementary
#317AA5 #A53140 #A59631
monochromatic
#153447 #235776 #317AA5 #4A9AC9 #79B4D7

Accessibility & contrast

On white

4.71
#317AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#317AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317AA5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AA5#FFFFFF#000000##FFFFFF
##317AA51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667AA7
Deuteranopia (green-blind)
#566EA4
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #317aa5;
/* rgb */ color: rgb(49, 122, 165);
/* oklch */ color: oklch(55.3% 0.098 238.2);
Tailwind
colors: {
  custom: {
    50: '#77a0c0',
    500: '#317aa5',
    950: '#000000',
  },
}
SCSS
$custom: #317aa5;
$custom-light: #77a0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#317aa5",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 165
  },
  "hsl": {
    "h": 202.241,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55321,
    "c": 0.098,
    "h": 238.2
  },
  "luminance": 0.17289
}

Semantic roles & 50–950 ramp

primary
#317AA5
secondary
#C08F72
accent
#814ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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