#3160B5#3160B5

#3160B5 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.144 H 261.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#3160B5
RGBrgb(49, 96, 181)
HSLhsl(219, 57%, 45%)
HSVhsv(219, 73%, 71%)
CMYKcmyk(72.9%, 47%, 0%, 29%)
CIE-LABlab(41.77, 13.69, -49.77)
CIE-LCHlch(41.77, 51.62, 285.38°)
OKLaboklab(50.25% -0.0223 -0.1427)
OKLCHoklch(50.25% 0.144 261.1)
XYZxyz(13.7870, 12.3534, 45.3649)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160B5 #B58631
analogous
#31A2B5 #3160B5 #4431B5
triadic
#3160B5 #B53160 #60B531
tetradic
#3160B5 #B531A2 #B58631 #31B544
square
#3160B5 #B531A2 #B58631 #31B544
split-complementary
#3160B5 #B54431 #A2B531
monochromatic
#172D55 #244685 #3160B5 #5380D0 #83A3DD

Accessibility & contrast

On white

6.05
#3160B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3160B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3160B5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3160B5#FFFFFF#000000##FFFFFF
##3160B51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3369B8
Deuteranopia (green-blind)
#135DB3
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3160b5;
/* rgb */ color: rgb(49, 96, 181);
/* oklch */ color: oklch(50.2% 0.144 261.1);
Tailwind
colors: {
  custom: {
    50: '#7a8ccc',
    500: '#3160b5',
    950: '#000000',
  },
}
SCSS
$custom: #3160b5;
$custom-light: #7a8ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3160b5",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 181
  },
  "hsl": {
    "h": 218.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.14443,
    "h": 261.1
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#3160B5
secondary
#C7AC7B
accent
#AA47E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3160B5

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

Preview Lab → · Contrast checker → · Palette generator →

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