#516AA4#516AA4

#516AA4 is a mid, moderate blue. Relative luminance 0.147; OKLCH L 53.1% C 0.096 H 265.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#516AA4
RGBrgb(81, 106, 164)
HSLhsl(222, 34%, 48%)
HSVhsv(222, 51%, 64%)
CMYKcmyk(50.6%, 35.4%, 0%, 35.7%)
CIE-LABlab(45.27, 7.57, -34.12)
CIE-LCHlch(45.27, 34.95, 282.51°)
OKLaboklab(53.07% -0.0075 -0.0961)
OKLCHoklch(53.07% 0.096 265.5)
XYZxyz(15.2460, 14.7367, 37.1558)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AA4 #A48B51
analogous
#5193A4 #516AA4 #6151A4
triadic
#516AA4 #A4516A #6AA451
tetradic
#516AA4 #A45193 #A48B51 #51A461
square
#516AA4 #A45193 #A48B51 #51A461
split-complementary
#516AA4 #A46151 #93A451
monochromatic
#293552 #3D507B #516AA4 #778BBC #A0AED0

Accessibility & contrast

On white

5.32
#516AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516AA4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AA4#FFFFFF#000000##FFFFFF
##516AA41.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546FA6
Deuteranopia (green-blind)
#4B68A3
Tritanopia (blue-blind)
#2D767F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #516aa4;
/* rgb */ color: rgb(81, 106, 164);
/* oklch */ color: oklch(53.1% 0.096 265.5);
Tailwind
colors: {
  custom: {
    50: '#8794bf',
    500: '#516aa4',
    950: '#000000',
  },
}
SCSS
$custom: #516aa4;
$custom-light: #8794bf;
$custom-dark: #000000;
JSON
{
  "hex": "#516aa4",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 164
  },
  "hsl": {
    "h": 221.928,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53071,
    "c": 0.09644,
    "h": 265.5
  },
  "luminance": 0.14738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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