#3173A5#3173A5

#3173A5 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.6% C 0.103 H 244.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3173A5
RGBrgb(49, 115, 165)
HSLhsl(206, 54%, 42%)
HSVhsv(206, 70%, 65%)
CMYKcmyk(70.3%, 30.3%, 0%, 35.3%)
CIE-LABlab(46.48, -4.11, -32.91)
CIE-LCHlch(46.48, 33.16, 262.89°)
OKLaboklab(53.63% -0.0445 -0.093)
OKLCHoklch(53.63% 0.103 244.5)
XYZxyz(14.1863, 15.6295, 37.8592)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173A5 #A56331
analogous
#31A59D #3173A5 #3139A5
triadic
#3173A5 #A53173 #73A531
tetradic
#3173A5 #9D31A5 #A56331 #39A531
square
#3173A5 #9D31A5 #A56331 #39A531
split-complementary
#3173A5 #A53139 #A59D31
monochromatic
#153147 #235276 #3173A5 #4A92C9 #79AFD7

Accessibility & contrast

On white

5.09
#3173A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3173A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173A5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173A5#FFFFFF#000000##FFFFFF
##3173A51.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C74A7
Deuteranopia (green-blind)
#4C69A4
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3173a5;
/* rgb */ color: rgb(49, 115, 165);
/* oklch */ color: oklch(53.6% 0.103 244.5);
Tailwind
colors: {
  custom: {
    50: '#779bc0',
    500: '#3173a5',
    950: '#000000',
  },
}
SCSS
$custom: #3173a5;
$custom-light: #779bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3173a5",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 165
  },
  "hsl": {
    "h": 205.862,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53631,
    "c": 0.1031,
    "h": 244.5
  },
  "luminance": 0.15631
}

Semantic roles & 50–950 ramp

primary
#3173A5
secondary
#C09472
accent
#8A4ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3173A5

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

Preview Lab → · Contrast checker → · Palette generator →

#3173A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva