#516BAE#516BAE

#516BAE is a mid, moderate blue. Relative luminance 0.153; OKLCH L 53.9% C 0.110 H 266.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#516BAE
RGBrgb(81, 107, 174)
HSLhsl(223, 36%, 50%)
HSVhsv(223, 53%, 68%)
CMYKcmyk(53.4%, 38.5%, 0%, 31.8%)
CIE-LABlab(46.07, 10.19, -38.73)
CIE-LCHlch(46.07, 40.05, 284.74°)
OKLaboklab(53.86% -0.0063 -0.1096)
OKLCHoklch(53.86% 0.11 266.7)
XYZxyz(16.2885, 15.3196, 42.1348)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BAE #AE9451
analogous
#5199AE #516BAE #6651AE
triadic
#516BAE #AE516B #6BAE51
tetradic
#516BAE #AE5199 #AE9451 #51AE66
square
#516BAE #AE5199 #AE9451 #51AE66
split-complementary
#516BAE #AE6651 #99AE51
monochromatic
#2A385A #3E5184 #516BAE #7B8FC1 #A5B2D5

Accessibility & contrast

On white

5.17
#516BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516BAE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BAE#FFFFFF#000000##FFFFFF
##516BAE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5072B1
Deuteranopia (green-blind)
#4569AD
Tritanopia (blue-blind)
#227984
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516bae;
/* rgb */ color: rgb(81, 107, 174);
/* oklch */ color: oklch(53.9% 0.110 266.7);
Tailwind
colors: {
  custom: {
    50: '#8895c6',
    500: '#516bae',
    950: '#000000',
  },
}
SCSS
$custom: #516bae;
$custom-light: #8895c6;
$custom-dark: #000000;
JSON
{
  "hex": "#516bae",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 174
  },
  "hsl": {
    "h": 223.226,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.53857,
    "c": 0.10976,
    "h": 266.7
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#516BAE
secondary
#C2B799
accent
#AD5BCC
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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