#3170C2#3170C2

#3170C2 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.7% C 0.143 H 256.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3170C2
RGBrgb(49, 112, 194)
HSLhsl(214, 60%, 48%)
HSVhsv(214, 75%, 76%)
CMYKcmyk(74.7%, 42.3%, 0%, 23.9%)
CIE-LABlab(47.15, 8.37, -48.70)
CIE-LCHlch(47.15, 49.42, 279.76°)
OKLaboklab(54.66% -0.034 -0.1393)
OKLCHoklch(54.66% 0.143 256.3)
XYZxyz(16.7948, 16.1345, 53.2576)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3170C2 #C28331
analogous
#31B9C2 #3170C2 #3A31C2
triadic
#3170C2 #C23170 #70C231
tetradic
#3170C2 #C231B9 #C28331 #31C23A
square
#3170C2 #C231B9 #C28331 #31C23A
split-complementary
#3170C2 #C23A31 #B9C231
monochromatic
#183860 #255491 #3170C2 #5B90D6 #8CB1E2

Accessibility & contrast

On white

4.97
#3170C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3170C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3170C2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3170C2#FFFFFF#000000##FFFFFF
##3170C21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#2E6AC0
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3170c2;
/* rgb */ color: rgb(49, 112, 194);
/* oklch */ color: oklch(54.7% 0.143 256.3);
Tailwind
colors: {
  custom: {
    50: '#7d98d5',
    500: '#3170c2',
    950: '#000000',
  },
}
SCSS
$custom: #3170c2;
$custom-light: #7d98d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3170c2",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 194
  },
  "hsl": {
    "h": 213.931,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54659,
    "c": 0.14336,
    "h": 256.3
  },
  "luminance": 0.16136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3170C2

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

Preview Lab → · Contrast checker → · Palette generator →

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