#516BAD#516BAD

#516BAD is a mid, moderate blue. Relative luminance 0.153; OKLCH L 53.8% C 0.108 H 266.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#516BAD
RGBrgb(81, 107, 173)
HSLhsl(223, 36%, 50%)
HSVhsv(223, 53%, 68%)
CMYKcmyk(53.2%, 38.2%, 0%, 32.2%)
CIE-LABlab(46.02, 9.86, -38.23)
CIE-LCHlch(46.02, 39.48, 284.47°)
OKLaboklab(53.8% -0.0065 -0.1081)
OKLCHoklch(53.8% 0.108 266.5)
XYZxyz(16.1914, 15.2807, 41.6233)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BAD #AD9351
analogous
#5199AD #516BAD #6551AD
triadic
#516BAD #AD516B #6BAD51
tetradic
#516BAD #AD5199 #AD9351 #51AD65
square
#516BAD #AD5199 #AD9351 #51AD65
split-complementary
#516BAD #AD6551 #99AD51
monochromatic
#2A375A #3D5183 #516BAD #7A8EC1 #A4B2D4

Accessibility & contrast

On white

5.18
#516BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#516BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BAD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BAD#FFFFFF#000000##FFFFFF
##516BAD1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5171B0
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#247984
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516bad;
/* rgb */ color: rgb(81, 107, 173);
/* oklch */ color: oklch(53.8% 0.108 266.5);
Tailwind
colors: {
  custom: {
    50: '#8895c6',
    500: '#516bad',
    950: '#000000',
  },
}
SCSS
$custom: #516bad;
$custom-light: #8895c6;
$custom-dark: #000000;
JSON
{
  "hex": "#516bad",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 173
  },
  "hsl": {
    "h": 223.043,
    "s": 36.22,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.10832,
    "h": 266.5
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#516BAD
secondary
#C2B698
accent
#AC5CCC
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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