#516BC4#516BC4

#516BC4 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.2% C 0.141 H 269.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#516BC4
RGBrgb(81, 107, 196)
HSLhsl(226, 49%, 54%)
HSVhsv(226, 59%, 77%)
CMYKcmyk(58.7%, 45.4%, 0%, 23.1%)
CIE-LABlab(47.30, 17.51, -49.53)
CIE-LCHlch(47.30, 52.54, 289.46°)
OKLaboklab(55.2% -0.0021 -0.1412)
OKLCHoklch(55.2% 0.141 269.1)
XYZxyz(18.6115, 16.2488, 54.3694)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BC4 #C4AA51
analogous
#51A5C4 #516BC4 #7151C4
triadic
#516BC4 #C4516B #6BC451
tetradic
#516BC4 #C451A5 #C4AA51 #51C471
square
#516BC4 #C451A5 #C4AA51 #51C471
split-complementary
#516BC4 #C47151 #A5C451
monochromatic
#273873 #374FA1 #516BC4 #7F92D3 #ACB9E3

Accessibility & contrast

On white

4.94
#516BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#516BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BC4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BC4#FFFFFF#000000##FFFFFF
##516BC41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4276C7
Deuteranopia (green-blind)
#316BC2
Tritanopia (blue-blind)
#007F8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516bc4;
/* rgb */ color: rgb(81, 107, 196);
/* oklch */ color: oklch(55.2% 0.141 269.1);
Tailwind
colors: {
  custom: {
    50: '#8b95d6',
    500: '#516bc4',
    950: '#000000',
  },
}
SCSS
$custom: #516bc4;
$custom-light: #8b95d6;
$custom-dark: #000000;
JSON
{
  "hex": "#516bc4",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 196
  },
  "hsl": {
    "h": 226.435,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55202,
    "c": 0.14126,
    "h": 269.1
  },
  "luminance": 0.1625
}

Semantic roles & 50–950 ramp

primary
#516BC4
secondary
#D1C6A0
accent
#BA4FD9
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516BC4

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

Preview Lab → · Contrast checker → · Palette generator →

#516BC4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva