#3163B5#3163B5

#3163B5 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.141 H 259.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3163B5
RGBrgb(49, 99, 181)
HSLhsl(217, 57%, 45%)
HSVhsv(217, 73%, 71%)
CMYKcmyk(72.9%, 45.3%, 0%, 29%)
CIE-LABlab(42.63, 11.76, -48.39)
CIE-LCHlch(42.63, 49.80, 283.66°)
OKLaboklab(50.91% -0.0249 -0.1386)
OKLCHoklch(50.91% 0.141 259.8)
XYZxyz(14.0659, 12.9113, 45.4579)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3163B5 #B58331
analogous
#31A5B5 #3163B5 #4131B5
triadic
#3163B5 #B53163 #63B531
tetradic
#3163B5 #B531A5 #B58331 #31B541
square
#3163B5 #B531A5 #B58331 #31B541
split-complementary
#3163B5 #B54131 #A5B531
monochromatic
#172E55 #244985 #3163B5 #5382D0 #83A5DD

Accessibility & contrast

On white

5.86
#3163B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3163B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3163B5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3163B5#FFFFFF#000000##FFFFFF
##3163B51.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#1E5FB3
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3163b5;
/* rgb */ color: rgb(49, 99, 181);
/* oklch */ color: oklch(50.9% 0.141 259.8);
Tailwind
colors: {
  custom: {
    50: '#7a8ecc',
    500: '#3163b5',
    950: '#000000',
  },
}
SCSS
$custom: #3163b5;
$custom-light: #7a8ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3163b5",
  "rgb": {
    "r": 49,
    "g": 99,
    "b": 181
  },
  "hsl": {
    "h": 217.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50908,
    "c": 0.14082,
    "h": 259.8
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#3163B5
secondary
#C7AA7B
accent
#A747E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3163B5

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

Preview Lab → · Contrast checker → · Palette generator →

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