#516997#516997

#516997 is a mid, moderate blue. Relative luminance 0.141; OKLCH L 52.2% C 0.079 H 262.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#516997
RGBrgb(81, 105, 151)
HSLhsl(219, 30%, 45%)
HSVhsv(219, 46%, 59%)
CMYKcmyk(46.4%, 30.5%, 0%, 40.8%)
CIE-LABlab(44.36, 4.09, -27.87)
CIE-LCHlch(44.36, 28.16, 278.34°)
OKLaboklab(52.15% -0.0098 -0.078)
OKLCHoklch(52.15% 0.079 262.8)
XYZxyz(14.0290, 14.0860, 31.2518)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516997 #977F51
analogous
#518C97 #516997 #5C5197
triadic
#516997 #975169 #699751
tetradic
#516997 #97518C #977F51 #51975C
square
#516997 #97518C #977F51 #51975C
split-complementary
#516997 #975C51 #8C9751
monochromatic
#263247 #3C4D6F #516997 #7288B3 #9AAAC9

Accessibility & contrast

On white

5.50
#516997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#516997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516997
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516997#FFFFFF#000000##FFFFFF
##5169971.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586C99
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#367379
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #516997;
/* rgb */ color: rgb(81, 105, 151);
/* oklch */ color: oklch(52.2% 0.079 262.8);
Tailwind
colors: {
  custom: {
    50: '#8593b6',
    500: '#516997',
    950: '#000000',
  },
}
SCSS
$custom: #516997;
$custom-light: #8593b6;
$custom-dark: #000000;
JSON
{
  "hex": "#516997",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 151
  },
  "hsl": {
    "h": 219.429,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.07864,
    "h": 262.8
  },
  "luminance": 0.14087
}

Semantic roles & 50–950 ramp

primary
#516997
secondary
#B6A88E
accent
#A461C6
background
#F8F9FB
surface
#EFF1F6
border
#CACBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516997

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

Preview Lab → · Contrast checker → · Palette generator →

#516997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva