#516B99#516B99

#516B99 is a mid, moderate blue. Relative luminance 0.146; OKLCH L 52.7% C 0.079 H 261.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#516B99
RGBrgb(81, 107, 153)
HSLhsl(218, 31%, 46%)
HSVhsv(218, 47%, 60%)
CMYKcmyk(47.1%, 30.1%, 0%, 40%)
CIE-LABlab(45.03, 3.48, -28.00)
CIE-LCHlch(45.03, 28.22, 277.08°)
OKLaboklab(52.71% -0.0118 -0.0784)
OKLCHoklch(52.71% 0.079 261.4)
XYZxyz(14.3989, 14.5637, 32.1832)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B99 #997F51
analogous
#518F99 #516B99 #5B5199
triadic
#516B99 #99516B #6B9951
tetradic
#516B99 #99518F #997F51 #51995B
square
#516B99 #99518F #997F51 #51995B
split-complementary
#516B99 #995B51 #8F9951
monochromatic
#273349 #3C4F71 #516B99 #738AB5 #9BACCA

Accessibility & contrast

On white

5.37
#516B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#516B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516B99
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516B99#FFFFFF#000000##FFFFFF
##516B991.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E9B
Deuteranopia (green-blind)
#526798
Tritanopia (blue-blind)
#35757B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #516b99;
/* rgb */ color: rgb(81, 107, 153);
/* oklch */ color: oklch(52.7% 0.079 261.4);
Tailwind
colors: {
  custom: {
    50: '#8695b7',
    500: '#516b99',
    950: '#000000',
  },
}
SCSS
$custom: #516b99;
$custom-light: #8695b7;
$custom-dark: #000000;
JSON
{
  "hex": "#516b99",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 153
  },
  "hsl": {
    "h": 218.333,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52711,
    "c": 0.0793,
    "h": 261.4
  },
  "luminance": 0.14565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516B99

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

Preview Lab → · Contrast checker → · Palette generator →

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