#516FA7#516FA7

#516FA7 is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.3% C 0.095 H 262.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#516FA7
RGBrgb(81, 111, 167)
HSLhsl(219, 35%, 49%)
HSVhsv(219, 51%, 65%)
CMYKcmyk(51.5%, 33.5%, 0%, 34.5%)
CIE-LABlab(46.85, 5.45, -33.40)
CIE-LCHlch(46.85, 33.84, 279.27°)
OKLaboklab(54.35% -0.0129 -0.094)
OKLCHoklch(54.35% 0.095 262.2)
XYZxyz(16.0505, 15.9071, 38.7763)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FA7 #A78951
analogous
#519AA7 #516FA7 #5E51A7
triadic
#516FA7 #A7516F #6FA751
tetradic
#516FA7 #A7519A #A78951 #51A75E
square
#516FA7 #A7519A #A78951 #51A75E
split-complementary
#516FA7 #A75E51 #9AA751
monochromatic
#293855 #3D547E #516FA7 #7890BD #A1B2D1

Accessibility & contrast

On white

5.02
#516FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#516FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FA7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FA7#FFFFFF#000000##FFFFFF
##516FA71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5973A9
Deuteranopia (green-blind)
#4F6BA6
Tritanopia (blue-blind)
#297B83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516fa7;
/* rgb */ color: rgb(81, 111, 167);
/* oklch */ color: oklch(54.3% 0.095 262.2);
Tailwind
colors: {
  custom: {
    50: '#8798c1',
    500: '#516fa7',
    950: '#000000',
  },
}
SCSS
$custom: #516fa7;
$custom-light: #8798c1;
$custom-dark: #000000;
JSON
{
  "hex": "#516fa7",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 219.07,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54348,
    "c": 0.0949,
    "h": 262.2
  },
  "luminance": 0.15908
}

Semantic roles & 50–950 ramp

primary
#516FA7
secondary
#BFB095
accent
#A45DCB
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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