#516FA3#516FA3

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

Color values

HEX#516FA3
RGBrgb(81, 111, 163)
HSLhsl(218, 34%, 48%)
HSVhsv(218, 50%, 64%)
CMYKcmyk(50.3%, 31.9%, 0%, 36.1%)
CIE-LABlab(46.66, 4.18, -31.35)
CIE-LCHlch(46.66, 31.63, 277.59°)
OKLaboklab(54.14% -0.014 -0.0881)
OKLCHoklch(54.14% 0.089 261)
XYZxyz(15.6864, 15.7615, 36.8589)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FA3 #A38551
analogous
#5198A3 #516FA3 #5C51A3
triadic
#516FA3 #A3516F #6FA351
tetradic
#516FA3 #A35198 #A38551 #51A35C
square
#516FA3 #A35198 #A38551 #51A35C
split-complementary
#516FA3 #A35C51 #98A351
monochromatic
#283751 #3D537A #516FA3 #768FBB #9FB1CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516FA3#FFFFFF#000000##FFFFFF
##516FA31.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)
#5B73A5
Deuteranopia (green-blind)
#526BA2
Tritanopia (blue-blind)
#2C7A82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516fa3;
/* rgb */ color: rgb(81, 111, 163);
/* oklch */ color: oklch(54.1% 0.089 261.0);
Tailwind
colors: {
  custom: {
    50: '#8798be',
    500: '#516fa3',
    950: '#000000',
  },
}
SCSS
$custom: #516fa3;
$custom-light: #8798be;
$custom-dark: #000000;
JSON
{
  "hex": "#516fa3",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 163
  },
  "hsl": {
    "h": 218.049,
    "s": 33.607,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54135,
    "c": 0.0892,
    "h": 261
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

primary
#516FA3
secondary
#BCAD93
accent
#A25ECA
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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