#3160B7#3160B7

#3160B7 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.4% C 0.147 H 261.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#3160B7
RGBrgb(49, 96, 183)
HSLhsl(219, 58%, 45%)
HSVhsv(219, 73%, 72%)
CMYKcmyk(73.2%, 47.5%, 0%, 28.2%)
CIE-LABlab(41.90, 14.45, -50.73)
CIE-LCHlch(41.90, 52.75, 285.89°)
OKLaboklab(50.39% -0.0219 -0.1455)
OKLCHoklch(50.39% 0.147 261.4)
XYZxyz(13.9937, 12.4361, 46.4535)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160B7 #B78831
analogous
#31A3B7 #3160B7 #4531B7
triadic
#3160B7 #B73160 #60B731
tetradic
#3160B7 #B731A3 #B78831 #31B745
square
#3160B7 #B731A3 #B78831 #31B745
split-complementary
#3160B7 #B74531 #A3B731
monochromatic
#172D56 #244787 #3160B7 #5480D1 #84A4DE

Accessibility & contrast

On white

6.02
#3160B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3160B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3160B7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3160B7#FFFFFF#000000##FFFFFF
##3160B71.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3169BA
Deuteranopia (green-blind)
#0D5DB5
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3160b7;
/* rgb */ color: rgb(49, 96, 183);
/* oklch */ color: oklch(50.4% 0.147 261.4);
Tailwind
colors: {
  custom: {
    50: '#7b8ccd',
    500: '#3160b7',
    950: '#000000',
  },
}
SCSS
$custom: #3160b7;
$custom-light: #7b8ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#3160b7",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 183
  },
  "hsl": {
    "h": 218.955,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.14718,
    "h": 261.4
  },
  "luminance": 0.12438
}

Semantic roles & 50–950 ramp

primary
#3160B7
secondary
#C8AD7C
accent
#AB47E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3160B7

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

Preview Lab → · Contrast checker → · Palette generator →

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