#516A99#516A99

#516A99 is a mid, moderate blue. Relative luminance 0.144; OKLCH L 52.5% C 0.080 H 262.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#516A99
RGBrgb(81, 106, 153)
HSLhsl(219, 31%, 46%)
HSVhsv(219, 47%, 60%)
CMYKcmyk(47.1%, 30.7%, 0%, 40%)
CIE-LABlab(44.74, 4.09, -28.45)
CIE-LCHlch(44.74, 28.75, 278.18°)
OKLaboklab(52.48% -0.0105 -0.0797)
OKLCHoklch(52.48% 0.08 262.5)
XYZxyz(14.2953, 14.3564, 32.1486)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A99 #998051
analogous
#518E99 #516A99 #5C5199
triadic
#516A99 #99516A #6A9951
tetradic
#516A99 #99518E #998051 #51995C
square
#516A99 #99518E #998051 #51995C
split-complementary
#516A99 #995C51 #8E9951
monochromatic
#273349 #3C4E71 #516A99 #738AB5 #9BABCA

Accessibility & contrast

On white

5.42
#516A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#516A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A99
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A99#FFFFFF#000000##FFFFFF
##516A991.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596D9B
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#35747B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #516a99;
/* rgb */ color: rgb(81, 106, 153);
/* oklch */ color: oklch(52.5% 0.080 262.5);
Tailwind
colors: {
  custom: {
    50: '#8694b7',
    500: '#516a99',
    950: '#000000',
  },
}
SCSS
$custom: #516a99;
$custom-light: #8694b7;
$custom-dark: #000000;
JSON
{
  "hex": "#516a99",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 153
  },
  "hsl": {
    "h": 219.167,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52484,
    "c": 0.08042,
    "h": 262.5
  },
  "luminance": 0.14357
}

Semantic roles & 50–950 ramp

primary
#516A99
secondary
#B7A98F
accent
#A461C7
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516A99

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

Preview Lab → · Contrast checker → · Palette generator →

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