#3160B3#3160B3

#3160B3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.1% C 0.142 H 260.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#3160B3
RGBrgb(49, 96, 179)
HSLhsl(218, 57%, 45%)
HSVhsv(218, 73%, 70%)
CMYKcmyk(72.6%, 46.4%, 0%, 29.8%)
CIE-LABlab(41.65, 12.94, -48.80)
CIE-LCHlch(41.65, 50.49, 284.85°)
OKLaboklab(50.11% -0.0226 -0.1399)
OKLCHoklch(50.11% 0.142 260.8)
XYZxyz(13.5833, 12.2719, 44.2919)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160B3 #B38431
analogous
#31A1B3 #3160B3 #4331B3
triadic
#3160B3 #B33160 #60B331
tetradic
#3160B3 #B331A1 #B38431 #31B343
square
#3160B3 #B331A1 #B38431 #31B343
split-complementary
#3160B3 #B34331 #A1B331
monochromatic
#172C53 #244683 #3160B3 #527FD0 #82A3DD

Accessibility & contrast

On white

6.08
#3160B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3160B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3160B3
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3160B3#FFFFFF#000000##FFFFFF
##3160B31.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B6
Deuteranopia (green-blind)
#185DB1
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3160b3;
/* rgb */ color: rgb(49, 96, 179);
/* oklch */ color: oklch(50.1% 0.142 260.8);
Tailwind
colors: {
  custom: {
    50: '#7a8cca',
    500: '#3160b3',
    950: '#000000',
  },
}
SCSS
$custom: #3160b3;
$custom-light: #7a8cca;
$custom-dark: #000000;
JSON
{
  "hex": "#3160b3",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 179
  },
  "hsl": {
    "h": 218.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5011,
    "c": 0.14167,
    "h": 260.8
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#3160B3
secondary
#C6AA7A
accent
#A948E0
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3160B3

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

Preview Lab → · Contrast checker → · Palette generator →

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