#3160AB#3160AB

#3160AB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.6% C 0.131 H 259.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3160AB
RGBrgb(49, 96, 171)
HSLhsl(217, 55%, 43%)
HSVhsv(217, 71%, 67%)
CMYKcmyk(71.3%, 43.9%, 0%, 32.9%)
CIE-LABlab(41.15, 9.94, -44.89)
CIE-LCHlch(41.15, 45.98, 282.49°)
OKLaboklab(49.57% -0.0241 -0.1284)
OKLCHoklch(49.57% 0.131 259.4)
XYZxyz(12.7975, 11.9576, 40.1538)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160AB #AB7C31
analogous
#319DAB #3160AB #3F31AB
triadic
#3160AB #AB3160 #60AB31
tetradic
#3160AB #AB319D #AB7C31 #31AB3F
square
#3160AB #AB319D #AB7C31 #31AB3F
split-complementary
#3160AB #AB3F31 #9DAB31
monochromatic
#162B4C #23457B #3160AB #4D7ECC #7DA1DA

Accessibility & contrast

On white

6.19
#3160AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3160AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3160AB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3160AB#FFFFFF#000000##FFFFFF
##3160AB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#265CA9
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3160ab;
/* rgb */ color: rgb(49, 96, 171);
/* oklch */ color: oklch(49.6% 0.131 259.4);
Tailwind
colors: {
  custom: {
    50: '#788cc4',
    500: '#3160ab',
    950: '#000000',
  },
}
SCSS
$custom: #3160ab;
$custom-light: #788cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3160ab",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 171
  },
  "hsl": {
    "h": 216.885,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49567,
    "c": 0.1306,
    "h": 259.4
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#3160AB
secondary
#C2A575
accent
#A549DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3160AB

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

Preview Lab → · Contrast checker → · Palette generator →

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