#3160C5#3160C5

#3160C5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.4% C 0.166 H 263.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3160C5
RGBrgb(49, 96, 197)
HSLhsl(221, 60%, 48%)
HSVhsv(221, 75%, 77%)
CMYKcmyk(75.1%, 51.3%, 0%, 22.7%)
CIE-LABlab(42.84, 19.71, -57.37)
CIE-LCHlch(42.84, 60.66, 288.96°)
OKLaboklab(51.4% -0.0201 -0.1651)
OKLCHoklch(51.4% 0.166 263.1)
XYZxyz(15.5239, 13.0482, 54.5129)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160C5 #C59631
analogous
#31AAC5 #3160C5 #4C31C5
triadic
#3160C5 #C53160 #60C531
tetradic
#3160C5 #C531AA #C59631 #31C54C
square
#3160C5 #C531AA #C59631 #31C54C
split-complementary
#3160C5 #C54C31 #AAC531
monochromatic
#193063 #254894 #3160C5 #5D83D7 #8EA9E3

Accessibility & contrast

On white

5.82
#3160C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3160C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3160C5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3160C5#FFFFFF#000000##FFFFFF
##3160C51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6CC9
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3160c5;
/* rgb */ color: rgb(49, 96, 197);
/* oklch */ color: oklch(51.4% 0.166 263.1);
Tailwind
colors: {
  custom: {
    50: '#7e8cd7',
    500: '#3160c5',
    950: '#000000',
  },
}
SCSS
$custom: #3160c5;
$custom-light: #7e8cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3160c5",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 197
  },
  "hsl": {
    "h": 220.946,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51402,
    "c": 0.16627,
    "h": 263.1
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#3160C5
secondary
#CDB685
accent
#B144E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3160C5

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

Preview Lab → · Contrast checker → · Palette generator →

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