#3163BB#3163BB

#3163BB is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.3% C 0.149 H 260.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3163BB
RGBrgb(49, 99, 187)
HSLhsl(218, 58%, 46%)
HSVhsv(218, 74%, 73%)
CMYKcmyk(73.8%, 47.1%, 0%, 26.7%)
CIE-LABlab(43.01, 14.01, -51.29)
CIE-LCHlch(43.01, 53.17, 285.28°)
OKLaboklab(51.32% -0.0239 -0.1471)
OKLCHoklch(51.32% 0.149 260.8)
XYZxyz(14.6949, 13.1629, 48.7703)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3163BB #BB8931
analogous
#31A8BB #3163BB #4431BB
triadic
#3163BB #BB3163 #63BB31
tetradic
#3163BB #BB31A8 #BB8931 #31BB44
square
#3163BB #BB31A8 #BB8931 #31BB44
split-complementary
#3163BB #BB4431 #A8BB31
monochromatic
#18305A #24498B #3163BB #5683D3 #87A7E0

Accessibility & contrast

On white

5.78
#3163BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3163BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3163BB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3163BB#FFFFFF#000000##FFFFFF
##3163BB1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBE
Deuteranopia (green-blind)
#1060B9
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3163bb;
/* rgb */ color: rgb(49, 99, 187);
/* oklch */ color: oklch(51.3% 0.149 260.8);
Tailwind
colors: {
  custom: {
    50: '#7b8ed0',
    500: '#3163bb',
    950: '#000000',
  },
}
SCSS
$custom: #3163bb;
$custom-light: #7b8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3163bb",
  "rgb": {
    "r": 49,
    "g": 99,
    "b": 187
  },
  "hsl": {
    "h": 218.261,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51321,
    "c": 0.14904,
    "h": 260.8
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#3163BB
secondary
#C9AE7F
accent
#A946E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3163BB

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

Preview Lab → · Contrast checker → · Palette generator →

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