#3170C6#3170C6

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

Color values

HEX#3170C6
RGBrgb(49, 112, 198)
HSLhsl(215, 60%, 48%)
HSVhsv(215, 75%, 78%)
CMYKcmyk(75.3%, 43.4%, 0%, 22.4%)
CIE-LABlab(47.39, 9.87, -50.62)
CIE-LCHlch(47.39, 51.58, 281.03°)
OKLaboklab(54.92% -0.0331 -0.1449)
OKLCHoklch(54.92% 0.149 257.1)
XYZxyz(17.2501, 16.3166, 55.6554)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3170C6 #C68731
analogous
#31BAC6 #3170C6 #3C31C6
triadic
#3170C6 #C63170 #70C631
tetradic
#3170C6 #C631BA #C68731 #31C63C
square
#3170C6 #C631BA #C68731 #31C63C
split-complementary
#3170C6 #C63C31 #BAC631
monochromatic
#193864 #255495 #3170C6 #5D91D7 #8EB2E3

Accessibility & contrast

On white

4.93
#3170C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3170C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3170C6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3170C6#FFFFFF#000000##FFFFFF
##3170C61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4578C9
Deuteranopia (green-blind)
#296AC4
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3170c6;
/* rgb */ color: rgb(49, 112, 198);
/* oklch */ color: oklch(54.9% 0.149 257.1);
Tailwind
colors: {
  custom: {
    50: '#7d98d8',
    500: '#3170c6',
    950: '#000000',
  },
}
SCSS
$custom: #3170c6;
$custom-light: #7d98d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3170c6",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 198
  },
  "hsl": {
    "h": 214.631,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54919,
    "c": 0.14867,
    "h": 257.1
  },
  "luminance": 0.16319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3170C6

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

Preview Lab → · Contrast checker → · Palette generator →

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