#516A97#516A97

#516A97 is a mid, moderate blue. Relative luminance 0.143; OKLCH L 52.4% C 0.078 H 261.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#516A97
RGBrgb(81, 106, 151)
HSLhsl(219, 30%, 45%)
HSVhsv(219, 46%, 59%)
CMYKcmyk(46.4%, 29.8%, 0%, 40.8%)
CIE-LABlab(44.65, 3.47, -27.41)
CIE-LCHlch(44.65, 27.63, 277.22°)
OKLaboklab(52.38% -0.0111 -0.0767)
OKLCHoklch(52.38% 0.078 261.7)
XYZxyz(14.1315, 14.2909, 31.2859)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A97 #977E51
analogous
#518D97 #516A97 #5B5197
triadic
#516A97 #97516A #6A9751
tetradic
#516A97 #97518D #977E51 #51975B
square
#516A97 #97518D #977E51 #51975B
split-complementary
#516A97 #975B51 #8D9751
monochromatic
#263247 #3C4E6F #516A97 #7289B3 #9AAAC9

Accessibility & contrast

On white

5.44
#516A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#516A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A97
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A97#FFFFFF#000000##FFFFFF
##516A971.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596D99
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#36747A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #516a97;
/* rgb */ color: rgb(81, 106, 151);
/* oklch */ color: oklch(52.4% 0.078 261.7);
Tailwind
colors: {
  custom: {
    50: '#8594b5',
    500: '#516a97',
    950: '#000000',
  },
}
SCSS
$custom: #516a97;
$custom-light: #8594b5;
$custom-dark: #000000;
JSON
{
  "hex": "#516a97",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 151
  },
  "hsl": {
    "h": 218.571,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52381,
    "c": 0.07752,
    "h": 261.7
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

primary
#516A97
secondary
#B6A88E
accent
#A261C6
background
#F8F9FB
surface
#EFF1F6
border
#CACBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516A97

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

Preview Lab → · Contrast checker → · Palette generator →

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