#3173C1#3173C1

#3173C1 is a mid, vivid cyan. Relative luminance 0.168; OKLCH L 55.3% C 0.139 H 254.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3173C1
RGBrgb(49, 115, 193)
HSLhsl(213, 60%, 47%)
HSVhsv(213, 75%, 76%)
CMYKcmyk(74.6%, 40.4%, 0%, 24.3%)
CIE-LABlab(47.96, 6.13, -46.83)
CIE-LCHlch(47.96, 47.23, 277.46°)
OKLaboklab(55.27% -0.0369 -0.1337)
OKLCHoklch(55.27% 0.139 254.6)
XYZxyz(17.0194, 16.7628, 52.7803)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173C1 #C17F31
analogous
#31BBC1 #3173C1 #3731C1
triadic
#3173C1 #C13173 #73C131
tetradic
#3173C1 #C131BB #C17F31 #31C137
square
#3173C1 #C131BB #C17F31 #31C137
split-complementary
#3173C1 #C13731 #BBC131
monochromatic
#18395F #255690 #3173C1 #5A92D5 #8BB3E2

Accessibility & contrast

On white

4.82
#3173C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3173C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173C1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173C1#FFFFFF#000000##FFFFFF
##3173C11.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C4
Deuteranopia (green-blind)
#366CBF
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3173c1;
/* rgb */ color: rgb(49, 115, 193);
/* oklch */ color: oklch(55.3% 0.139 254.6);
Tailwind
colors: {
  custom: {
    50: '#7c9ad4',
    500: '#3173c1',
    950: '#000000',
  },
}
SCSS
$custom: #3173c1;
$custom-light: #7c9ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#3173c1",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 193
  },
  "hsl": {
    "h": 212.5,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55269,
    "c": 0.13873,
    "h": 254.6
  },
  "luminance": 0.16765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3173C1

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

Preview Lab → · Contrast checker → · Palette generator →

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