#516B97#516B97

#516B97 is a mid, moderate blue. Relative luminance 0.145; OKLCH L 52.6% C 0.076 H 260.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#516B97
RGBrgb(81, 107, 151)
HSLhsl(218, 30%, 45%)
HSVhsv(218, 46%, 59%)
CMYKcmyk(46.4%, 29.1%, 0%, 40.8%)
CIE-LABlab(44.94, 2.86, -26.96)
CIE-LCHlch(44.94, 27.11, 276.06°)
OKLaboklab(52.61% -0.0125 -0.0754)
OKLCHoklch(52.61% 0.076 260.6)
XYZxyz(14.2351, 14.4982, 31.3205)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B97 #977D51
analogous
#518E97 #516B97 #5A5197
triadic
#516B97 #97516B #6B9751
tetradic
#516B97 #97518E #977D51 #51975A
square
#516B97 #97518E #977D51 #51975A
split-complementary
#516B97 #975A51 #8E9751
monochromatic
#263347 #3C4F6F #516B97 #728AB3 #9AABC9

Accessibility & contrast

On white

5.38
#516B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#516B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516B97
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516B97#FFFFFF#000000##FFFFFF
##516B971.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E99
Deuteranopia (green-blind)
#536796
Tritanopia (blue-blind)
#36747A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #516b97;
/* rgb */ color: rgb(81, 107, 151);
/* oklch */ color: oklch(52.6% 0.076 260.6);
Tailwind
colors: {
  custom: {
    50: '#8595b5',
    500: '#516b97',
    950: '#000000',
  },
}
SCSS
$custom: #516b97;
$custom-light: #8595b5;
$custom-dark: #000000;
JSON
{
  "hex": "#516b97",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 151
  },
  "hsl": {
    "h": 217.714,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52609,
    "c": 0.07642,
    "h": 260.6
  },
  "luminance": 0.14499
}

Semantic roles & 50–950 ramp

primary
#516B97
secondary
#B6A78E
accent
#A161C6
background
#F8F9FB
surface
#EFF1F6
border
#CACBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516B97

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

Preview Lab → · Contrast checker → · Palette generator →

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