#3173C0#3173C0

#3173C0 is a mid, vivid cyan. Relative luminance 0.167; OKLCH L 55.2% C 0.137 H 254.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3173C0
RGBrgb(49, 115, 192)
HSLhsl(212, 59%, 47%)
HSVhsv(212, 74%, 75%)
CMYKcmyk(74.5%, 40.1%, 0%, 24.7%)
CIE-LABlab(47.90, 5.76, -46.35)
CIE-LCHlch(47.90, 46.70, 277.09°)
OKLaboklab(55.21% -0.0371 -0.1323)
OKLCHoklch(55.21% 0.137 254.3)
XYZxyz(16.9083, 16.7183, 52.1948)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173C0 #C07E31
analogous
#31BAC0 #3173C0 #3731C0
triadic
#3173C0 #C03173 #73C031
tetradic
#3173C0 #C031BA #C07E31 #31C037
square
#3173C0 #C031BA #C07E31 #31C037
split-complementary
#3173C0 #C03731 #BAC031
monochromatic
#18395E #25568F #3173C0 #5992D5 #8AB2E1

Accessibility & contrast

On white

4.83
#3173C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3173C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173C0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173C0#FFFFFF#000000##FFFFFF
##3173C01.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C3
Deuteranopia (green-blind)
#376CBE
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3173c0;
/* rgb */ color: rgb(49, 115, 192);
/* oklch */ color: oklch(55.2% 0.137 254.3);
Tailwind
colors: {
  custom: {
    50: '#7c9ad3',
    500: '#3173c0',
    950: '#000000',
  },
}
SCSS
$custom: #3173c0;
$custom-light: #7c9ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3173c0",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 192
  },
  "hsl": {
    "h": 212.308,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55207,
    "c": 0.13741,
    "h": 254.3
  },
  "luminance": 0.1672
}

Semantic roles & 50–950 ramp

primary
#3173C0
secondary
#CBA982
accent
#9A45E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3173C0

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

Preview Lab → · Contrast checker → · Palette generator →

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