#516C96#516C96

#516C96 is a mid, moderate blue. Relative luminance 0.147; OKLCH L 52.8% C 0.074 H 259.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#516C96
RGBrgb(81, 108, 150)
HSLhsl(217, 30%, 45%)
HSVhsv(217, 46%, 59%)
CMYKcmyk(46%, 28%, 0%, 41.2%)
CIE-LABlab(45.19, 1.94, -25.98)
CIE-LCHlch(45.19, 26.05, 274.27°)
OKLaboklab(52.79% -0.0141 -0.0726)
OKLCHoklch(52.79% 0.074 259)
XYZxyz(14.2591, 14.6756, 30.9296)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C96 #967B51
analogous
#518E96 #516C96 #595196
triadic
#516C96 #96516C #6C9651
tetradic
#516C96 #96518E #967B51 #519659
square
#516C96 #96518E #967B51 #519659
split-complementary
#516C96 #965951 #8E9651
monochromatic
#263347 #3C4F6E #516C96 #728BB3 #99ACC8

Accessibility & contrast

On white

5.34
#516C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#516C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516C96
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C96#FFFFFF#000000##FFFFFF
##516C961.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F98
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#36757B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #516c96;
/* rgb */ color: rgb(81, 108, 150);
/* oklch */ color: oklch(52.8% 0.074 259.0);
Tailwind
colors: {
  custom: {
    50: '#8595b5',
    500: '#516c96',
    950: '#000000',
  },
}
SCSS
$custom: #516c96;
$custom-light: #8595b5;
$custom-dark: #000000;
JSON
{
  "hex": "#516c96",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 150
  },
  "hsl": {
    "h": 216.522,
    "s": 29.87,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.07393,
    "h": 259
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#516C96
secondary
#B5A68E
accent
#9F62C6
background
#F8F9FB
surface
#EFF1F6
border
#CACBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516C96

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

Preview Lab → · Contrast checker → · Palette generator →

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