#516EA7#516EA7

#516EA7 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.1% C 0.096 H 263.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#516EA7
RGBrgb(81, 110, 167)
HSLhsl(220, 35%, 49%)
HSVhsv(220, 51%, 65%)
CMYKcmyk(51.5%, 34.1%, 0%, 34.5%)
CIE-LABlab(46.57, 6.07, -33.85)
CIE-LCHlch(46.57, 34.39, 280.16°)
OKLaboklab(54.13% -0.0117 -0.0953)
OKLCHoklch(54.13% 0.096 263)
XYZxyz(15.9420, 15.6901, 38.7402)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EA7 #A78A51
analogous
#5199A7 #516EA7 #5F51A7
triadic
#516EA7 #A7516E #6EA751
tetradic
#516EA7 #A75199 #A78A51 #51A75F
square
#516EA7 #A75199 #A78A51 #51A75F
split-complementary
#516EA7 #A75F51 #99A751
monochromatic
#293855 #3D537E #516EA7 #788FBD #A1B1D1

Accessibility & contrast

On white

5.07
#516EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#516EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EA7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EA7#FFFFFF#000000##FFFFFF
##516EA71.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873A9
Deuteranopia (green-blind)
#4E6BA6
Tritanopia (blue-blind)
#297A83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516ea7;
/* rgb */ color: rgb(81, 110, 167);
/* oklch */ color: oklch(54.1% 0.096 263.0);
Tailwind
colors: {
  custom: {
    50: '#8797c1',
    500: '#516ea7',
    950: '#000000',
  },
}
SCSS
$custom: #516ea7;
$custom-light: #8797c1;
$custom-dark: #000000;
JSON
{
  "hex": "#516ea7",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 167
  },
  "hsl": {
    "h": 219.767,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54125,
    "c": 0.09605,
    "h": 263
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#516EA7
secondary
#BFB195
accent
#A65DCB
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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