#516E97#516E97

#516E97 is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.3% C 0.073 H 257.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#516E97
RGBrgb(81, 110, 151)
HSLhsl(215, 30%, 45%)
HSVhsv(215, 46%, 59%)
CMYKcmyk(46.4%, 27.2%, 0%, 40.8%)
CIE-LABlab(45.82, 1.04, -25.59)
CIE-LCHlch(45.82, 25.61, 272.32°)
OKLaboklab(53.3% -0.0164 -0.0715)
OKLCHoklch(53.3% 0.073 257.1)
XYZxyz(14.5533, 15.1346, 31.4266)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E97 #977A51
analogous
#519197 #516E97 #575197
triadic
#516E97 #97516E #6E9751
tetradic
#516E97 #975191 #977A51 #519757
square
#516E97 #975191 #977A51 #519757
split-complementary
#516E97 #975751 #919751
monochromatic
#263447 #3C516F #516E97 #728DB3 #9AADC9

Accessibility & contrast

On white

5.21
#516E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#516E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E97
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E97#FFFFFF#000000##FFFFFF
##516E971.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7099
Deuteranopia (green-blind)
#566996
Tritanopia (blue-blind)
#35777C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #516e97;
/* rgb */ color: rgb(81, 110, 151);
/* oklch */ color: oklch(53.3% 0.073 257.1);
Tailwind
colors: {
  custom: {
    50: '#8597b5',
    500: '#516e97',
    950: '#000000',
  },
}
SCSS
$custom: #516e97;
$custom-light: #8597b5;
$custom-dark: #000000;
JSON
{
  "hex": "#516e97",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 151
  },
  "hsl": {
    "h": 215.143,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53296,
    "c": 0.07332,
    "h": 257.1
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#516E97
secondary
#B6A58E
accent
#9D61C6
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516E97

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

Preview Lab → · Contrast checker → · Palette generator →

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