#3160BB#3160BB

#3160BB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.7% C 0.153 H 262.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3160BB
RGBrgb(49, 96, 187)
HSLhsl(220, 58%, 46%)
HSVhsv(220, 74%, 73%)
CMYKcmyk(73.8%, 48.7%, 0%, 26.7%)
CIE-LABlab(42.16, 15.95, -52.65)
CIE-LCHlch(42.16, 55.01, 286.85°)
OKLaboklab(50.67% -0.0213 -0.1512)
OKLCHoklch(50.67% 0.153 262)
XYZxyz(14.4159, 12.6050, 48.6773)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160BB #BB8C31
analogous
#31A5BB #3160BB #4731BB
triadic
#3160BB #BB3160 #60BB31
tetradic
#3160BB #BB31A5 #BB8C31 #31BB47
square
#3160BB #BB31A5 #BB8C31 #31BB47
split-complementary
#3160BB #BB4731 #A5BB31
monochromatic
#182E5A #24478B #3160BB #5681D3 #87A5E0

Accessibility & contrast

On white

5.96
#3160BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3160BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3160BB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3160BB#FFFFFF#000000##FFFFFF
##3160BB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3160bb;
/* rgb */ color: rgb(49, 96, 187);
/* oklch */ color: oklch(50.7% 0.153 262.0);
Tailwind
colors: {
  custom: {
    50: '#7b8cd0',
    500: '#3160bb',
    950: '#000000',
  },
}
SCSS
$custom: #3160bb;
$custom-light: #7b8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3160bb",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 187
  },
  "hsl": {
    "h": 219.565,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50672,
    "c": 0.15267,
    "h": 262
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#3160BB
secondary
#C9B07F
accent
#AD46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3160BB

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

Preview Lab → · Contrast checker → · Palette generator →

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