#516DA7#516DA7

#516DA7 is a mid, moderate blue. Relative luminance 0.155; OKLCH L 53.9% C 0.097 H 263.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#516DA7
RGBrgb(81, 109, 167)
HSLhsl(220, 35%, 49%)
HSVhsv(220, 51%, 65%)
CMYKcmyk(51.5%, 34.7%, 0%, 34.5%)
CIE-LABlab(46.28, 6.68, -34.30)
CIE-LCHlch(46.28, 34.94, 281.02°)
OKLaboklab(53.9% -0.0104 -0.0966)
OKLCHoklch(53.9% 0.097 263.8)
XYZxyz(15.8347, 15.4755, 38.7044)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DA7 #A78B51
analogous
#5198A7 #516DA7 #6051A7
triadic
#516DA7 #A7516D #6DA751
tetradic
#516DA7 #A75198 #A78B51 #51A760
square
#516DA7 #A75198 #A78B51 #51A760
split-complementary
#516DA7 #A76051 #98A751
monochromatic
#293755 #3D527E #516DA7 #788EBD #A1B1D1

Accessibility & contrast

On white

5.13
#516DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#516DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DA7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DA7#FFFFFF#000000##FFFFFF
##516DA71.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5772A9
Deuteranopia (green-blind)
#4D6AA6
Tritanopia (blue-blind)
#297A82
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516da7;
/* rgb */ color: rgb(81, 109, 167);
/* oklch */ color: oklch(53.9% 0.097 263.8);
Tailwind
colors: {
  custom: {
    50: '#8796c1',
    500: '#516da7',
    950: '#000000',
  },
}
SCSS
$custom: #516da7;
$custom-light: #8796c1;
$custom-dark: #000000;
JSON
{
  "hex": "#516da7",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 167
  },
  "hsl": {
    "h": 220.465,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53902,
    "c": 0.09721,
    "h": 263.8
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

primary
#516DA7
secondary
#BFB195
accent
#A75DCB
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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