#3173B5#3173B5

#3173B5 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.5% C 0.123 H 251.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3173B5
RGBrgb(49, 115, 181)
HSLhsl(210, 57%, 45%)
HSVhsv(210, 73%, 71%)
CMYKcmyk(72.9%, 36.5%, 0%, 29%)
CIE-LABlab(47.30, 1.70, -40.95)
CIE-LCHlch(47.30, 40.98, 272.38°)
OKLaboklab(54.54% -0.0398 -0.1165)
OKLCHoklch(54.54% 0.123 251.1)
XYZxyz(15.7347, 16.2489, 46.0142)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173B5 #B57331
analogous
#31B5B5 #3173B5 #3131B5
triadic
#3173B5 #B53173 #73B531
tetradic
#3173B5 #B531B5 #B57331 #31B531
square
#3173B5 #B531B5 #B57331 #31B531
split-complementary
#3173B5 #B53131 #B5B531
monochromatic
#173655 #245485 #3173B5 #5392D0 #83B0DD

Accessibility & contrast

On white

4.94
#3173B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3173B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173B5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173B5#FFFFFF#000000##FFFFFF
##3173B51.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5577B8
Deuteranopia (green-blind)
#416BB4
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3173b5;
/* rgb */ color: rgb(49, 115, 181);
/* oklch */ color: oklch(54.5% 0.123 251.1);
Tailwind
colors: {
  custom: {
    50: '#7a9acb',
    500: '#3173b5',
    950: '#000000',
  },
}
SCSS
$custom: #3173b5;
$custom-light: #7a9acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3173b5",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 181
  },
  "hsl": {
    "h": 210,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.1231,
    "h": 251.1
  },
  "luminance": 0.16251
}

Semantic roles & 50–950 ramp

primary
#3173B5
secondary
#C7A17B
accent
#9447E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3173B5

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

Preview Lab → · Contrast checker → · Palette generator →

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