#516AA5#516AA5

#516AA5 is a mid, moderate blue. Relative luminance 0.148; OKLCH L 53.1% C 0.098 H 265.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#516AA5
RGBrgb(81, 106, 165)
HSLhsl(222, 34%, 48%)
HSVhsv(222, 51%, 65%)
CMYKcmyk(50.9%, 35.8%, 0%, 35.3%)
CIE-LABlab(45.32, 7.89, -34.63)
CIE-LCHlch(45.32, 35.52, 282.84°)
OKLaboklab(53.13% -0.0072 -0.0976)
OKLCHoklch(53.13% 0.098 265.8)
XYZxyz(15.3367, 14.7730, 37.6333)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AA5 #A58C51
analogous
#5194A5 #516AA5 #6251A5
triadic
#516AA5 #A5516A #6AA551
tetradic
#516AA5 #A55194 #A58C51 #51A562
square
#516AA5 #A55194 #A58C51 #51A562
split-complementary
#516AA5 #A56251 #94A551
monochromatic
#293553 #3D507C #516AA5 #778CBC #A0AED0

Accessibility & contrast

On white

5.31
#516AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#516AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516AA5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AA5#FFFFFF#000000##FFFFFF
##516AA51.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536FA7
Deuteranopia (green-blind)
#4A68A4
Tritanopia (blue-blind)
#2C7780
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #516aa5;
/* rgb */ color: rgb(81, 106, 165);
/* oklch */ color: oklch(53.1% 0.098 265.8);
Tailwind
colors: {
  custom: {
    50: '#8794c0',
    500: '#516aa5',
    950: '#000000',
  },
}
SCSS
$custom: #516aa5;
$custom-light: #8794c0;
$custom-dark: #000000;
JSON
{
  "hex": "#516aa5",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 165
  },
  "hsl": {
    "h": 222.143,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53127,
    "c": 0.09791,
    "h": 265.8
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#516AA5
secondary
#BDB194
accent
#AA5ECA
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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