#3160B6#3160B6

#3160B6 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.146 H 261.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#3160B6
RGBrgb(49, 96, 182)
HSLhsl(219, 58%, 45%)
HSVhsv(219, 73%, 71%)
CMYKcmyk(73.1%, 47.3%, 0%, 28.6%)
CIE-LABlab(41.84, 14.07, -50.25)
CIE-LCHlch(41.84, 52.18, 285.64°)
OKLaboklab(50.32% -0.0221 -0.1441)
OKLCHoklch(50.32% 0.146 261.3)
XYZxyz(13.8900, 12.3946, 45.9073)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160B6 #B68731
analogous
#31A2B6 #3160B6 #4431B6
triadic
#3160B6 #B63160 #60B631
tetradic
#3160B6 #B631A2 #B68731 #31B644
square
#3160B6 #B631A2 #B68731 #31B644
split-complementary
#3160B6 #B64431 #A2B631
monochromatic
#172D56 #244786 #3160B6 #5380D1 #84A3DE

Accessibility & contrast

On white

6.04
#3160B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3160B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3160B6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3160B6#FFFFFF#000000##FFFFFF
##3160B61.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3269B9
Deuteranopia (green-blind)
#105DB4
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3160b6;
/* rgb */ color: rgb(49, 96, 182);
/* oklch */ color: oklch(50.3% 0.146 261.3);
Tailwind
colors: {
  custom: {
    50: '#7a8ccc',
    500: '#3160b6',
    950: '#000000',
  },
}
SCSS
$custom: #3160b6;
$custom-light: #7a8ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3160b6",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 182
  },
  "hsl": {
    "h": 218.797,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50319,
    "c": 0.1458,
    "h": 261.3
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#3160B6
secondary
#C7AC7C
accent
#AA47E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3160B6

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

Preview Lab → · Contrast checker → · Palette generator →

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