#516786#516786

#516786 is a mid, muted blue. Relative luminance 0.132; OKLCH L 50.9% C 0.056 H 257.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#516786
RGBrgb(81, 103, 134)
HSLhsl(215, 25%, 42%)
HSVhsv(215, 40%, 53%)
CMYKcmyk(39.6%, 23.1%, 0%, 47.5%)
CIE-LABlab(43.02, 0.18, -19.77)
CIE-LCHlch(43.02, 19.78, 270.53°)
OKLaboklab(50.86% -0.0127 -0.0548)
OKLCHoklch(50.86% 0.056 257)
XYZxyz(12.5453, 13.1704, 24.4307)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516786 #867051
analogous
#518286 #516786 #565186
triadic
#516786 #865167 #678651
tetradic
#516786 #865182 #867051 #518656
square
#516786 #865182 #867051 #518656
split-complementary
#516786 #865651 #828651
monochromatic
#232C3A #3A4A60 #516786 #6D85A7 #93A5BE

Accessibility & contrast

On white

5.78
#516786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#516786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516786
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516786#FFFFFF#000000##FFFFFF
##5167861.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6887
Deuteranopia (green-blind)
#566385
Tritanopia (blue-blind)
#3F6E71
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516786;
/* rgb */ color: rgb(81, 103, 134);
/* oklch */ color: oklch(50.9% 0.056 257.0);
Tailwind
colors: {
  custom: {
    50: '#8492a9',
    500: '#516786',
    950: '#000000',
  },
}
SCSS
$custom: #516786;
$custom-light: #8492a9;
$custom-dark: #000000;
JSON
{
  "hex": "#516786",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 134
  },
  "hsl": {
    "h": 215.094,
    "s": 24.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50862,
    "c": 0.05626,
    "h": 257
  },
  "luminance": 0.13171
}

Semantic roles & 50–950 ramp

primary
#516786
secondary
#AB9C88
accent
#9C67C1
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0D10
muted
#7C7D7F

Preview Lab

Preview with #516786

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

Preview Lab → · Contrast checker → · Palette generator →

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