#3163C2#3163C2

#3163C2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.8% C 0.159 H 261.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#3163C2
RGBrgb(49, 99, 194)
HSLhsl(219, 60%, 48%)
HSVhsv(219, 75%, 76%)
CMYKcmyk(74.7%, 49%, 0%, 23.9%)
CIE-LABlab(43.46, 16.64, -54.62)
CIE-LCHlch(43.46, 57.10, 286.95°)
OKLaboklab(51.82% -0.0229 -0.1569)
OKLCHoklch(51.82% 0.159 261.7)
XYZxyz(15.4626, 13.4700, 52.8135)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3163C2 #C29031
analogous
#31ACC2 #3163C2 #4731C2
triadic
#3163C2 #C23163 #63C231
tetradic
#3163C2 #C231AC #C29031 #31C247
square
#3163C2 #C231AC #C29031 #31C247
split-complementary
#3163C2 #C24731 #ACC231
monochromatic
#183160 #254A91 #3163C2 #5B85D6 #8CA9E2

Accessibility & contrast

On white

5.68
#3163C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3163C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3163C2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3163C2#FFFFFF#000000##FFFFFF
##3163C21.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC5
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3163c2;
/* rgb */ color: rgb(49, 99, 194);
/* oklch */ color: oklch(51.8% 0.159 261.7);
Tailwind
colors: {
  custom: {
    50: '#7d8ed5',
    500: '#3163c2',
    950: '#000000',
  },
}
SCSS
$custom: #3163c2;
$custom-light: #7d8ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#3163c2",
  "rgb": {
    "r": 49,
    "g": 99,
    "b": 194
  },
  "hsl": {
    "h": 219.31,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51816,
    "c": 0.15858,
    "h": 261.7
  },
  "luminance": 0.13472
}

Semantic roles & 50–950 ramp

primary
#3163C2
secondary
#CCB383
accent
#AC45E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3163C2

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

Preview Lab → · Contrast checker → · Palette generator →

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