#516F99#516F99

#516F99 is a mid, moderate blue. Relative luminance 0.154; OKLCH L 53.6% C 0.075 H 256.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#516F99
RGBrgb(81, 111, 153)
HSLhsl(215, 31%, 46%)
HSVhsv(215, 47%, 60%)
CMYKcmyk(47.1%, 27.5%, 0%, 40%)
CIE-LABlab(46.20, 1.04, -26.18)
CIE-LCHlch(46.20, 26.20, 272.29°)
OKLaboklab(53.63% -0.017 -0.0732)
OKLCHoklch(53.63% 0.075 256.9)
XYZxyz(14.8256, 15.4172, 32.3254)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F99 #997B51
analogous
#519399 #516F99 #575199
triadic
#516F99 #99516F #6F9951
tetradic
#516F99 #995193 #997B51 #519957
square
#516F99 #995193 #997B51 #519957
split-complementary
#516F99 #995751 #939951
monochromatic
#273549 #3C5271 #516F99 #738EB5 #9BAECA

Accessibility & contrast

On white

5.14
#516F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#516F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F99
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F99#FFFFFF#000000##FFFFFF
##516F991.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F719B
Deuteranopia (green-blind)
#576A98
Tritanopia (blue-blind)
#34787E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516f99;
/* rgb */ color: rgb(81, 111, 153);
/* oklch */ color: oklch(53.6% 0.075 256.9);
Tailwind
colors: {
  custom: {
    50: '#8698b7',
    500: '#516f99',
    950: '#000000',
  },
}
SCSS
$custom: #516f99;
$custom-light: #8698b7;
$custom-dark: #000000;
JSON
{
  "hex": "#516f99",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 153
  },
  "hsl": {
    "h": 215,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53625,
    "c": 0.07511,
    "h": 256.9
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#516F99
secondary
#B7A68F
accent
#9C61C7
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516F99

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

Preview Lab → · Contrast checker → · Palette generator →

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