#516896#516896

#516896 is a mid, moderate blue. Relative luminance 0.139; OKLCH L 51.9% C 0.078 H 263.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#516896
RGBrgb(81, 104, 150)
HSLhsl(220, 30%, 45%)
HSVhsv(220, 46%, 59%)
CMYKcmyk(46%, 30.7%, 0%, 41.2%)
CIE-LABlab(44.02, 4.39, -27.80)
CIE-LCHlch(44.02, 28.14, 278.98°)
OKLaboklab(51.88% -0.0088 -0.0778)
OKLCHoklch(51.88% 0.078 263.5)
XYZxyz(13.8469, 13.8511, 30.7921)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516896 #967F51
analogous
#518A96 #516896 #5C5196
triadic
#516896 #965168 #689651
tetradic
#516896 #96518A #967F51 #51965C
square
#516896 #96518A #967F51 #51965C
split-complementary
#516896 #965C51 #8A9651
monochromatic
#263147 #3C4C6E #516896 #7287B3 #99A9C8

Accessibility & contrast

On white

5.57
#516896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#516896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516896
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516896#FFFFFF#000000##FFFFFF
##5168961.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576C98
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#377278
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #516896;
/* rgb */ color: rgb(81, 104, 150);
/* oklch */ color: oklch(51.9% 0.078 263.5);
Tailwind
colors: {
  custom: {
    50: '#8592b5',
    500: '#516896',
    950: '#000000',
  },
}
SCSS
$custom: #516896;
$custom-light: #8592b5;
$custom-dark: #000000;
JSON
{
  "hex": "#516896",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 150
  },
  "hsl": {
    "h": 220,
    "s": 29.87,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.07833,
    "h": 263.5
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

primary
#516896
secondary
#B5A88E
accent
#A562C6
background
#F8F9FB
surface
#EFF1F6
border
#CACBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516896

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

Preview Lab → · Contrast checker → · Palette generator →

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