#3173C5#3173C5

#3173C5 is a mid, vivid cyan. Relative luminance 0.169; OKLCH L 55.5% C 0.144 H 255.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3173C5
RGBrgb(49, 115, 197)
HSLhsl(213, 60%, 48%)
HSVhsv(213, 75%, 77%)
CMYKcmyk(75.1%, 41.6%, 0%, 22.7%)
CIE-LABlab(48.19, 7.62, -48.77)
CIE-LCHlch(48.19, 49.36, 278.88°)
OKLaboklab(55.52% -0.036 -0.1394)
OKLCHoklch(55.52% 0.144 255.5)
XYZxyz(17.4717, 16.9437, 55.1621)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173C5 #C58331
analogous
#31BDC5 #3173C5 #3931C5
triadic
#3173C5 #C53173 #73C531
tetradic
#3173C5 #C531BD #C58331 #31C539
square
#3173C5 #C531BD #C58331 #31C539
split-complementary
#3173C5 #C53931 #BDC531
monochromatic
#193A63 #255694 #3173C5 #5D93D7 #8EB4E3

Accessibility & contrast

On white

4.78
#3173C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3173C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173C5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173C5#FFFFFF#000000##FFFFFF
##3173C51.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B7AC8
Deuteranopia (green-blind)
#326CC3
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3173c5;
/* rgb */ color: rgb(49, 115, 197);
/* oklch */ color: oklch(55.5% 0.144 255.5);
Tailwind
colors: {
  custom: {
    50: '#7d9ad7',
    500: '#3173c5',
    950: '#000000',
  },
}
SCSS
$custom: #3173c5;
$custom-light: #7d9ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3173c5",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 197
  },
  "hsl": {
    "h": 213.243,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55522,
    "c": 0.14399,
    "h": 255.5
  },
  "luminance": 0.16946
}

Semantic roles & 50–950 ramp

primary
#3173C5
secondary
#CDAD85
accent
#9C44E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3173C5

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

Preview Lab → · Contrast checker → · Palette generator →

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