#516CB4#516CB4

#516CB4 is a mid, moderate blue. Relative luminance 0.158; OKLCH L 54.4% C 0.117 H 267.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#516CB4
RGBrgb(81, 108, 180)
HSLhsl(224, 40%, 51%)
HSVhsv(224, 55%, 71%)
CMYKcmyk(55%, 40%, 0%, 29.4%)
CIE-LABlab(46.67, 11.54, -41.28)
CIE-LCHlch(46.67, 42.86, 285.62°)
OKLaboklab(54.42% -0.0062 -0.117)
OKLCHoklch(54.42% 0.117 267)
XYZxyz(16.9914, 15.7685, 45.3194)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CB4 #B49951
analogous
#519DB4 #516CB4 #6751B4
triadic
#516CB4 #B4516C #6CB451
tetradic
#516CB4 #B4519D #B49951 #51B467
square
#516CB4 #B4519D #B49951 #51B467
split-complementary
#516CB4 #B46751 #9DB451
monochromatic
#2A3961 #3C528C #516CB4 #7C90C6 #A7B4D9

Accessibility & contrast

On white

5.06
#516CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#516CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CB4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CB4#FFFFFF#000000##FFFFFF
##516CB41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B7
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#1A7C87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516cb4;
/* rgb */ color: rgb(81, 108, 180);
/* oklch */ color: oklch(54.4% 0.117 267.0);
Tailwind
colors: {
  custom: {
    50: '#8995cb',
    500: '#516cb4',
    950: '#000000',
  },
}
SCSS
$custom: #516cb4;
$custom-light: #8995cb;
$custom-dark: #000000;
JSON
{
  "hex": "#516cb4",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 180
  },
  "hsl": {
    "h": 223.636,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.11718,
    "h": 267
  },
  "luminance": 0.1577
}

Semantic roles & 50–950 ramp

primary
#516CB4
secondary
#C6BA9B
accent
#AF58D0
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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