#516AC0#516AC0

#516AC0 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.7% C 0.137 H 269.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#516AC0
RGBrgb(81, 106, 192)
HSLhsl(226, 47%, 54%)
HSVhsv(226, 58%, 75%)
CMYKcmyk(57.8%, 44.8%, 0%, 24.7%)
CIE-LABlab(46.79, 16.79, -48.04)
CIE-LCHlch(46.79, 50.88, 289.26°)
OKLaboklab(54.74% -0.0017 -0.1369)
OKLCHoklch(54.74% 0.137 269.3)
XYZxyz(18.0586, 15.8618, 51.9689)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AC0 #C0A751
analogous
#51A1C0 #516AC0 #6F51C0
triadic
#516AC0 #C0516A #6AC051
tetradic
#516AC0 #C051A1 #C0A751 #51C06F
square
#516AC0 #C051A1 #C0A751 #51C06F
split-complementary
#516AC0 #C06F51 #A1C051
monochromatic
#28386F #384F9B #516AC0 #7E90D0 #ABB7E1

Accessibility & contrast

On white

5.03
#516AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#516AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516AC0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AC0#FFFFFF#000000##FFFFFF
##516AC01.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4374C3
Deuteranopia (green-blind)
#346ABE
Tritanopia (blue-blind)
#007D8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516ac0;
/* rgb */ color: rgb(81, 106, 192);
/* oklch */ color: oklch(54.7% 0.137 269.3);
Tailwind
colors: {
  custom: {
    50: '#8b94d3',
    500: '#516ac0',
    950: '#000000',
  },
}
SCSS
$custom: #516ac0;
$custom-light: #8b94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#516ac0",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 192
  },
  "hsl": {
    "h": 226.486,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54738,
    "c": 0.13687,
    "h": 269.3
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#516AC0
secondary
#CEC39F
accent
#B851D6
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #516AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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