#516C99#516C99

#516C99 is a mid, moderate blue. Relative luminance 0.148; OKLCH L 52.9% C 0.078 H 260.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#516C99
RGBrgb(81, 108, 153)
HSLhsl(218, 31%, 46%)
HSVhsv(218, 47%, 60%)
CMYKcmyk(47.1%, 29.4%, 0%, 40%)
CIE-LABlab(45.32, 2.87, -27.55)
CIE-LCHlch(45.32, 27.69, 275.94°)
OKLaboklab(52.94% -0.0131 -0.0771)
OKLCHoklch(52.94% 0.078 260.3)
XYZxyz(14.5038, 14.7734, 32.2181)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C99 #997E51
analogous
#519099 #516C99 #5A5199
triadic
#516C99 #99516C #6C9951
tetradic
#516C99 #995190 #997E51 #51995A
square
#516C99 #995190 #997E51 #51995A
split-complementary
#516C99 #995A51 #909951
monochromatic
#273449 #3C5071 #516C99 #738BB5 #9BACCA

Accessibility & contrast

On white

5.31
#516C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#516C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516C99
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C99#FFFFFF#000000##FFFFFF
##516C991.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6F9B
Deuteranopia (green-blind)
#536898
Tritanopia (blue-blind)
#34767C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #516c99;
/* rgb */ color: rgb(81, 108, 153);
/* oklch */ color: oklch(52.9% 0.078 260.3);
Tailwind
colors: {
  custom: {
    50: '#8695b7',
    500: '#516c99',
    950: '#000000',
  },
}
SCSS
$custom: #516c99;
$custom-light: #8695b7;
$custom-dark: #000000;
JSON
{
  "hex": "#516c99",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 153
  },
  "hsl": {
    "h": 217.5,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52938,
    "c": 0.0782,
    "h": 260.3
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#516C99
secondary
#B7A88F
accent
#A161C7
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516C99

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

Preview Lab → · Contrast checker → · Palette generator →

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