#3160C2#3160C2

#3160C2 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.162 H 262.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3160C2
RGBrgb(49, 96, 194)
HSLhsl(221, 60%, 48%)
HSVhsv(221, 75%, 76%)
CMYKcmyk(74.7%, 50.5%, 0%, 23.9%)
CIE-LABlab(42.63, 18.58, -55.96)
CIE-LCHlch(42.63, 58.97, 288.37°)
OKLaboklab(51.18% -0.0204 -0.1609)
OKLCHoklch(51.18% 0.162 262.8)
XYZxyz(15.1836, 12.9121, 52.7205)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160C2 #C29331
analogous
#31A8C2 #3160C2 #4B31C2
triadic
#3160C2 #C23160 #60C231
tetradic
#3160C2 #C231A8 #C29331 #31C24B
square
#3160C2 #C231A8 #C29331 #31C24B
split-complementary
#3160C2 #C24B31 #A8C231
monochromatic
#183060 #254891 #3160C2 #5B83D6 #8CA8E2

Accessibility & contrast

On white

5.86
#3160C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3160C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3160C2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3160C2#FFFFFF#000000##FFFFFF
##3160C21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246CC6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3160c2;
/* rgb */ color: rgb(49, 96, 194);
/* oklch */ color: oklch(51.2% 0.162 262.8);
Tailwind
colors: {
  custom: {
    50: '#7d8cd5',
    500: '#3160c2',
    950: '#000000',
  },
}
SCSS
$custom: #3160c2;
$custom-light: #7d8cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3160c2",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 194
  },
  "hsl": {
    "h": 220.552,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.16222,
    "h": 262.8
  },
  "luminance": 0.12914
}

Semantic roles & 50–950 ramp

primary
#3160C2
secondary
#CCB483
accent
#B045E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3160C2

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

Preview Lab → · Contrast checker → · Palette generator →

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