#3173AB#3173AB

#3173AB is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.0% C 0.110 H 247.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3173AB
RGBrgb(49, 115, 171)
HSLhsl(208, 55%, 43%)
HSVhsv(208, 71%, 67%)
CMYKcmyk(71.3%, 32.7%, 0%, 32.9%)
CIE-LABlab(46.78, -1.95, -35.95)
CIE-LCHlch(46.78, 36.00, 266.90°)
OKLaboklab(53.96% -0.0426 -0.1019)
OKLCHoklch(53.96% 0.11 247.3)
XYZxyz(14.7453, 15.8531, 40.8030)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173AB #AB6931
analogous
#31ABA6 #3173AB #3136AB
triadic
#3173AB #AB3173 #73AB31
tetradic
#3173AB #A631AB #AB6931 #36AB31
square
#3173AB #A631AB #AB6931 #36AB31
split-complementary
#3173AB #AB3136 #ABA631
monochromatic
#16334C #23537B #3173AB #4D92CC #7DAFDA

Accessibility & contrast

On white

5.03
#3173AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3173AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173AB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173AB#FFFFFF#000000##FFFFFF
##3173AB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AD
Deuteranopia (green-blind)
#496AAA
Tritanopia (blue-blind)
#008087
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3173ab;
/* rgb */ color: rgb(49, 115, 171);
/* oklch */ color: oklch(54.0% 0.110 247.3);
Tailwind
colors: {
  custom: {
    50: '#789bc4',
    500: '#3173ab',
    950: '#000000',
  },
}
SCSS
$custom: #3173ab;
$custom-light: #789bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3173ab",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 171
  },
  "hsl": {
    "h": 207.541,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53962,
    "c": 0.11044,
    "h": 247.3
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#3173AB
secondary
#C29975
accent
#8E49DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3173AB

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

Preview Lab → · Contrast checker → · Palette generator →

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