#3160B1#3160B1

#3160B1 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.0% C 0.139 H 260.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3160B1
RGBrgb(49, 96, 177)
HSLhsl(218, 57%, 44%)
HSVhsv(218, 72%, 69%)
CMYKcmyk(72.3%, 45.8%, 0%, 30.6%)
CIE-LABlab(41.52, 12.19, -47.83)
CIE-LCHlch(41.52, 49.36, 284.30°)
OKLaboklab(49.97% -0.0229 -0.137)
OKLCHoklch(49.97% 0.139 260.5)
XYZxyz(13.3825, 12.1916, 43.2344)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160B1 #B18231
analogous
#31A0B1 #3160B1 #4231B1
triadic
#3160B1 #B13160 #60B131
tetradic
#3160B1 #B131A0 #B18231 #31B142
square
#3160B1 #B131A0 #B18231 #31B142
split-complementary
#3160B1 #B14231 #A0B131
monochromatic
#162C51 #244681 #3160B1 #517FCF #80A2DC

Accessibility & contrast

On white

6.11
#3160B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3160B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3160B1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3160B1#FFFFFF#000000##FFFFFF
##3160B11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B4
Deuteranopia (green-blind)
#1C5CAF
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3160b1;
/* rgb */ color: rgb(49, 96, 177);
/* oklch */ color: oklch(50.0% 0.139 260.5);
Tailwind
colors: {
  custom: {
    50: '#798cc9',
    500: '#3160b1',
    950: '#000000',
  },
}
SCSS
$custom: #3160b1;
$custom-light: #798cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3160b1",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 177
  },
  "hsl": {
    "h": 217.969,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49972,
    "c": 0.13891,
    "h": 260.5
  },
  "luminance": 0.12193
}

Semantic roles & 50–950 ramp

primary
#3160B1
secondary
#C5A979
accent
#A848E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3160B1

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

Preview Lab → · Contrast checker → · Palette generator →

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