#3173C7#3173C7

#3173C7 is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.6% C 0.147 H 256.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3173C7
RGBrgb(49, 115, 199)
HSLhsl(214, 60%, 49%)
HSVhsv(214, 75%, 78%)
CMYKcmyk(75.4%, 42.2%, 0%, 22%)
CIE-LABlab(48.31, 8.36, -49.73)
CIE-LCHlch(48.31, 50.43, 279.55°)
OKLaboklab(55.65% -0.0355 -0.1422)
OKLCHoklch(55.65% 0.147 256)
XYZxyz(17.7024, 17.0359, 56.3770)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173C7 #C78531
analogous
#31BEC7 #3173C7 #3A31C7
triadic
#3173C7 #C73173 #73C731
tetradic
#3173C7 #C731BE #C78531 #31C73A
square
#3173C7 #C731BE #C78531 #31C73A
split-complementary
#3173C7 #C73A31 #BEC731
monochromatic
#193A65 #255796 #3173C7 #5E93D7 #8FB4E3

Accessibility & contrast

On white

4.76
#3173C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3173C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173C7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173C7#FFFFFF#000000##FFFFFF
##3173C71.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ACA
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3173c7;
/* rgb */ color: rgb(49, 115, 199);
/* oklch */ color: oklch(55.6% 0.147 256.0);
Tailwind
colors: {
  custom: {
    50: '#7d9ad8',
    500: '#3173c7',
    950: '#000000',
  },
}
SCSS
$custom: #3173c7;
$custom-light: #7d9ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3173c7",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 199
  },
  "hsl": {
    "h": 213.6,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5565,
    "c": 0.14662,
    "h": 256
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#3173C7
secondary
#CEAE86
accent
#9D44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3173C7

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

Preview Lab → · Contrast checker → · Palette generator →

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