#516FA4#516FA4

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

Color values

HEX#516FA4
RGBrgb(81, 111, 164)
HSLhsl(218, 34%, 48%)
HSVhsv(218, 51%, 64%)
CMYKcmyk(50.6%, 32.3%, 0%, 35.7%)
CIE-LABlab(46.71, 4.49, -31.87)
CIE-LCHlch(46.71, 32.18, 278.03°)
OKLaboklab(54.19% -0.0137 -0.0896)
OKLCHoklch(54.19% 0.091 261.3)
XYZxyz(15.7764, 15.7975, 37.3326)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FA4 #A48651
analogous
#5199A4 #516FA4 #5C51A4
triadic
#516FA4 #A4516F #6FA451
tetradic
#516FA4 #A45199 #A48651 #51A45C
square
#516FA4 #A45199 #A48651 #51A45C
split-complementary
#516FA4 #A45C51 #99A451
monochromatic
#293852 #3D537B #516FA4 #7790BC #A0B1D0

Accessibility & contrast

On white

5.05
#516FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#516FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FA4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FA4#FFFFFF#000000##FFFFFF
##516FA41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A6
Deuteranopia (green-blind)
#516BA3
Tritanopia (blue-blind)
#2C7A82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516fa4;
/* rgb */ color: rgb(81, 111, 164);
/* oklch */ color: oklch(54.2% 0.091 261.3);
Tailwind
colors: {
  custom: {
    50: '#8798bf',
    500: '#516fa4',
    950: '#000000',
  },
}
SCSS
$custom: #516fa4;
$custom-light: #8798bf;
$custom-dark: #000000;
JSON
{
  "hex": "#516fa4",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 164
  },
  "hsl": {
    "h": 218.313,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54188,
    "c": 0.09063,
    "h": 261.3
  },
  "luminance": 0.15799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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