#3170C1#3170C1

#3170C1 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.6% C 0.142 H 256.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3170C1
RGBrgb(49, 112, 193)
HSLhsl(214, 60%, 47%)
HSVhsv(214, 75%, 76%)
CMYKcmyk(74.6%, 42%, 0%, 24.3%)
CIE-LABlab(47.09, 8.00, -48.22)
CIE-LCHlch(47.09, 48.88, 279.42°)
OKLaboklab(54.6% -0.0342 -0.1379)
OKLCHoklch(54.6% 0.142 256.1)
XYZxyz(16.6829, 16.0897, 52.6681)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3170C1 #C18231
analogous
#31B8C1 #3170C1 #3A31C1
triadic
#3170C1 #C13170 #70C131
tetradic
#3170C1 #C131B8 #C18231 #31C13A
square
#3170C1 #C131B8 #C18231 #31C13A
split-complementary
#3170C1 #C13A31 #B8C131
monochromatic
#18375F #255490 #3170C1 #5A90D5 #8BB1E2

Accessibility & contrast

On white

4.98
#3170C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3170C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3170C1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3170C1#FFFFFF#000000##FFFFFF
##3170C11.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4977C4
Deuteranopia (green-blind)
#306ABF
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3170c1;
/* rgb */ color: rgb(49, 112, 193);
/* oklch */ color: oklch(54.6% 0.142 256.1);
Tailwind
colors: {
  custom: {
    50: '#7c98d4',
    500: '#3170c1',
    950: '#000000',
  },
}
SCSS
$custom: #3170c1;
$custom-light: #7c98d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3170c1",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 193
  },
  "hsl": {
    "h": 213.75,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54595,
    "c": 0.14203,
    "h": 256.1
  },
  "luminance": 0.16092
}

Semantic roles & 50–950 ramp

primary
#3170C1
secondary
#CCAB82
accent
#9E45E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3170C1

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

Preview Lab → · Contrast checker → · Palette generator →

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