#516DA5#516DA5

#516DA5 is a mid, moderate blue. Relative luminance 0.154; OKLCH L 53.8% C 0.094 H 263.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#516DA5
RGBrgb(81, 109, 165)
HSLhsl(220, 34%, 48%)
HSVhsv(220, 51%, 65%)
CMYKcmyk(50.9%, 33.9%, 0%, 35.3%)
CIE-LABlab(46.18, 6.04, -33.28)
CIE-LCHlch(46.18, 33.82, 280.29°)
OKLaboklab(53.79% -0.011 -0.0937)
OKLCHoklch(53.79% 0.094 263.3)
XYZxyz(15.6513, 15.4021, 37.7382)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DA5 #A58951
analogous
#5197A5 #516DA5 #5F51A5
triadic
#516DA5 #A5516D #6DA551
tetradic
#516DA5 #A55197 #A58951 #51A55F
square
#516DA5 #A55197 #A58951 #51A55F
split-complementary
#516DA5 #A55F51 #97A551
monochromatic
#293753 #3D527C #516DA5 #778EBC #A0B0D0

Accessibility & contrast

On white

5.15
#516DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#516DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DA5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DA5#FFFFFF#000000##FFFFFF
##516DA51.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5772A7
Deuteranopia (green-blind)
#4E6AA4
Tritanopia (blue-blind)
#2B7981
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516da5;
/* rgb */ color: rgb(81, 109, 165);
/* oklch */ color: oklch(53.8% 0.094 263.3);
Tailwind
colors: {
  custom: {
    50: '#8796c0',
    500: '#516da5',
    950: '#000000',
  },
}
SCSS
$custom: #516da5;
$custom-light: #8796c0;
$custom-dark: #000000;
JSON
{
  "hex": "#516da5",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 165
  },
  "hsl": {
    "h": 220,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53793,
    "c": 0.09433,
    "h": 263.3
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

primary
#516DA5
secondary
#BDB094
accent
#A65ECA
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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