#516EA5#516EA5

#516EA5 is a mid, moderate blue. Relative luminance 0.156; OKLCH L 54.0% C 0.093 H 262.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#516EA5
RGBrgb(81, 110, 165)
HSLhsl(219, 34%, 48%)
HSVhsv(219, 51%, 65%)
CMYKcmyk(50.9%, 33.3%, 0%, 35.3%)
CIE-LABlab(46.47, 5.42, -32.83)
CIE-LCHlch(46.47, 33.27, 279.38°)
OKLaboklab(54.02% -0.0122 -0.0924)
OKLCHoklch(54.02% 0.093 262.5)
XYZxyz(15.7585, 15.6167, 37.7739)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EA5 #A58851
analogous
#5198A5 #516EA5 #5E51A5
triadic
#516EA5 #A5516E #6EA551
tetradic
#516EA5 #A55198 #A58851 #51A55E
square
#516EA5 #A55198 #A58851 #51A55E
split-complementary
#516EA5 #A55E51 #98A551
monochromatic
#293753 #3D537C #516EA5 #778FBC #A0B1D0

Accessibility & contrast

On white

5.09
#516EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#516EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EA5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EA5#FFFFFF#000000##FFFFFF
##516EA51.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5972A7
Deuteranopia (green-blind)
#4F6BA4
Tritanopia (blue-blind)
#2B7A82
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516ea5;
/* rgb */ color: rgb(81, 110, 165);
/* oklch */ color: oklch(54.0% 0.093 262.5);
Tailwind
colors: {
  custom: {
    50: '#8797c0',
    500: '#516ea5',
    950: '#000000',
  },
}
SCSS
$custom: #516ea5;
$custom-light: #8797c0;
$custom-dark: #000000;
JSON
{
  "hex": "#516ea5",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 165
  },
  "hsl": {
    "h": 219.286,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.09318,
    "h": 262.5
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#516EA5
secondary
#BDAF94
accent
#A55ECA
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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