#3160B8#3160B8

#3160B8 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.5% C 0.149 H 261.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#3160B8
RGBrgb(49, 96, 184)
HSLhsl(219, 58%, 46%)
HSVhsv(219, 73%, 72%)
CMYKcmyk(73.4%, 47.8%, 0%, 27.8%)
CIE-LABlab(41.97, 14.82, -51.21)
CIE-LCHlch(41.97, 53.31, 286.14°)
OKLaboklab(50.46% -0.0218 -0.1469)
OKLCHoklch(50.46% 0.149 261.6)
XYZxyz(14.0981, 12.4779, 47.0036)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160B8 #B88931
analogous
#31A3B8 #3160B8 #4531B8
triadic
#3160B8 #B83160 #60B831
tetradic
#3160B8 #B831A3 #B88931 #31B845
square
#3160B8 #B831A3 #B88931 #31B845
split-complementary
#3160B8 #B84531 #A3B831
monochromatic
#172E57 #244788 #3160B8 #5580D2 #85A4DE

Accessibility & contrast

On white

6.01
#3160B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3160B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3160B8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3160B8#FFFFFF#000000##FFFFFF
##3160B81.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306ABB
Deuteranopia (green-blind)
#095DB6
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3160b8;
/* rgb */ color: rgb(49, 96, 184);
/* oklch */ color: oklch(50.5% 0.149 261.6);
Tailwind
colors: {
  custom: {
    50: '#7b8cce',
    500: '#3160b8',
    950: '#000000',
  },
}
SCSS
$custom: #3160b8;
$custom-light: #7b8cce;
$custom-dark: #000000;
JSON
{
  "hex": "#3160b8",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 184
  },
  "hsl": {
    "h": 219.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50459,
    "c": 0.14856,
    "h": 261.6
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#3160B8
secondary
#C8AE7D
accent
#AB47E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3160B8

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

Preview Lab → · Contrast checker → · Palette generator →

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