#3170C3#3170C3

#3170C3 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.7% C 0.145 H 256.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3170C3
RGBrgb(49, 112, 195)
HSLhsl(214, 60%, 48%)
HSVhsv(214, 75%, 76%)
CMYKcmyk(74.9%, 42.6%, 0%, 23.5%)
CIE-LABlab(47.21, 8.75, -49.18)
CIE-LCHlch(47.21, 49.95, 280.09°)
OKLaboklab(54.72% -0.0338 -0.1407)
OKLCHoklch(54.72% 0.145 256.5)
XYZxyz(16.9075, 16.1795, 53.8511)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3170C3 #C38431
analogous
#31B9C3 #3170C3 #3B31C3
triadic
#3170C3 #C33170 #70C331
tetradic
#3170C3 #C331B9 #C38431 #31C33B
square
#3170C3 #C331B9 #C38431 #31C33B
split-complementary
#3170C3 #C33B31 #B9C331
monochromatic
#183861 #255492 #3170C3 #5B90D6 #8CB1E2

Accessibility & contrast

On white

4.96
#3170C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3170C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3170C3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3170C3#FFFFFF#000000##FFFFFF
##3170C31.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4777C6
Deuteranopia (green-blind)
#2D6AC1
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3170c3;
/* rgb */ color: rgb(49, 112, 195);
/* oklch */ color: oklch(54.7% 0.145 256.5);
Tailwind
colors: {
  custom: {
    50: '#7d98d6',
    500: '#3170c3',
    950: '#000000',
  },
}
SCSS
$custom: #3170c3;
$custom-light: #7d98d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3170c3",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 195
  },
  "hsl": {
    "h": 214.11,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54723,
    "c": 0.14468,
    "h": 256.5
  },
  "luminance": 0.16181
}

Semantic roles & 50–950 ramp

primary
#3170C3
secondary
#CCAD83
accent
#9F45E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3170C3

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

Preview Lab → · Contrast checker → · Palette generator →

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