#3163B2#3163B2

#3163B2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.137 H 259.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#3163B2
RGBrgb(49, 99, 178)
HSLhsl(217, 57%, 45%)
HSVhsv(217, 72%, 70%)
CMYKcmyk(72.5%, 44.4%, 0%, 30.2%)
CIE-LABlab(42.44, 10.63, -46.93)
CIE-LCHlch(42.44, 48.12, 282.77°)
OKLaboklab(50.71% -0.0255 -0.1343)
OKLCHoklch(50.71% 0.137 259.3)
XYZxyz(13.7614, 12.7895, 43.8542)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3163B2 #B28031
analogous
#31A4B2 #3163B2 #4031B2
triadic
#3163B2 #B23163 #63B231
tetradic
#3163B2 #B231A4 #B28031 #31B240
square
#3163B2 #B231A4 #B28031 #31B240
split-complementary
#3163B2 #B24031 #A4B231
monochromatic
#172E52 #244882 #3163B2 #5182CF #81A4DC

Accessibility & contrast

On white

5.90
#3163B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3163B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3163B2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3163B2#FFFFFF#000000##FFFFFF
##3163B21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#235FB0
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3163b2;
/* rgb */ color: rgb(49, 99, 178);
/* oklch */ color: oklch(50.7% 0.137 259.3);
Tailwind
colors: {
  custom: {
    50: '#7a8ec9',
    500: '#3163b2',
    950: '#000000',
  },
}
SCSS
$custom: #3163b2;
$custom-light: #7a8ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3163b2",
  "rgb": {
    "r": 49,
    "g": 99,
    "b": 178
  },
  "hsl": {
    "h": 216.744,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.13671,
    "h": 259.3
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#3163B2
secondary
#C5A879
accent
#A548E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3163B2

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

Preview Lab → · Contrast checker → · Palette generator →

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