#3170C5#3170C5

#3170C5 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.9% C 0.147 H 256.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3170C5
RGBrgb(49, 112, 197)
HSLhsl(214, 60%, 48%)
HSVhsv(214, 75%, 77%)
CMYKcmyk(75.1%, 43.1%, 0%, 22.7%)
CIE-LABlab(47.33, 9.49, -50.14)
CIE-LCHlch(47.33, 51.03, 280.72°)
OKLaboklab(54.85% -0.0333 -0.1435)
OKLCHoklch(54.85% 0.147 256.9)
XYZxyz(17.1351, 16.2706, 55.0500)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3170C5 #C58631
analogous
#31BAC5 #3170C5 #3C31C5
triadic
#3170C5 #C53170 #70C531
tetradic
#3170C5 #C531BA #C58631 #31C53C
square
#3170C5 #C531BA #C58631 #31C53C
split-complementary
#3170C5 #C53C31 #BAC531
monochromatic
#193863 #255494 #3170C5 #5D91D7 #8EB2E3

Accessibility & contrast

On white

4.94
#3170C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3170C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3170C5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3170C5#FFFFFF#000000##FFFFFF
##3170C51.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)
#4678C8
Deuteranopia (green-blind)
#2A6AC3
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3170c5;
/* rgb */ color: rgb(49, 112, 197);
/* oklch */ color: oklch(54.9% 0.147 256.9);
Tailwind
colors: {
  custom: {
    50: '#7d98d7',
    500: '#3170c5',
    950: '#000000',
  },
}
SCSS
$custom: #3170c5;
$custom-light: #7d98d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3170c5",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 197
  },
  "hsl": {
    "h": 214.459,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54853,
    "c": 0.14734,
    "h": 256.9
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#3170C5
secondary
#CDAE85
accent
#A044E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3170C5

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

Preview Lab → · Contrast checker → · Palette generator →

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