#3160B4#3160B4

#3160B4 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.2% C 0.143 H 261.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#3160B4
RGBrgb(49, 96, 180)
HSLhsl(218, 57%, 45%)
HSVhsv(218, 73%, 71%)
CMYKcmyk(72.8%, 46.7%, 0%, 29.4%)
CIE-LABlab(41.71, 13.32, -49.29)
CIE-LCHlch(41.71, 51.05, 285.12°)
OKLaboklab(50.18% -0.0224 -0.1413)
OKLCHoklch(50.18% 0.143 261)
XYZxyz(13.6848, 12.3125, 44.8265)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160B4 #B48531
analogous
#31A2B4 #3160B4 #4331B4
triadic
#3160B4 #B43160 #60B431
tetradic
#3160B4 #B431A2 #B48531 #31B443
square
#3160B4 #B431A2 #B48531 #31B443
split-complementary
#3160B4 #B44331 #A2B431
monochromatic
#172D54 #244684 #3160B4 #527FD0 #82A3DD

Accessibility & contrast

On white

6.06
#3160B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3160B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3160B4
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3160B4#FFFFFF#000000##FFFFFF
##3160B41.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3469B7
Deuteranopia (green-blind)
#165DB2
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3160b4;
/* rgb */ color: rgb(49, 96, 180);
/* oklch */ color: oklch(50.2% 0.143 261.0);
Tailwind
colors: {
  custom: {
    50: '#7a8ccb',
    500: '#3160b4',
    950: '#000000',
  },
}
SCSS
$custom: #3160b4;
$custom-light: #7a8ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#3160b4",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 180
  },
  "hsl": {
    "h": 218.473,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50179,
    "c": 0.14305,
    "h": 261
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#3160B4
secondary
#C6AB7B
accent
#AA47E0
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3160B4

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

Preview Lab → · Contrast checker → · Palette generator →

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