#516FA5#516FA5

#516FA5 is a mid, moderate blue. Relative luminance 0.158; OKLCH L 54.2% C 0.092 H 261.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#516FA5
RGBrgb(81, 111, 165)
HSLhsl(219, 34%, 48%)
HSVhsv(219, 51%, 65%)
CMYKcmyk(50.9%, 32.7%, 0%, 35.3%)
CIE-LABlab(46.76, 4.81, -32.38)
CIE-LCHlch(46.76, 32.73, 278.45°)
OKLaboklab(54.24% -0.0134 -0.0911)
OKLCHoklch(54.24% 0.092 261.6)
XYZxyz(15.8670, 15.8337, 37.8101)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FA5 #A58751
analogous
#5199A5 #516FA5 #5D51A5
triadic
#516FA5 #A5516F #6FA551
tetradic
#516FA5 #A55199 #A58751 #51A55D
square
#516FA5 #A55199 #A58751 #51A55D
split-complementary
#516FA5 #A55D51 #99A551
monochromatic
#293853 #3D537C #516FA5 #7790BC #A0B1D0

Accessibility & contrast

On white

5.04
#516FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516FA5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FA5#FFFFFF#000000##FFFFFF
##516FA51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A73A7
Deuteranopia (green-blind)
#516BA4
Tritanopia (blue-blind)
#2B7B82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516fa5;
/* rgb */ color: rgb(81, 111, 165);
/* oklch */ color: oklch(54.2% 0.092 261.6);
Tailwind
colors: {
  custom: {
    50: '#8798c0',
    500: '#516fa5',
    950: '#000000',
  },
}
SCSS
$custom: #516fa5;
$custom-light: #8798c0;
$custom-dark: #000000;
JSON
{
  "hex": "#516fa5",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 165
  },
  "hsl": {
    "h": 218.571,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.09205,
    "h": 261.6
  },
  "luminance": 0.15835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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