#516EA4#516EA4

#516EA4 is a mid, moderate blue. Relative luminance 0.156; OKLCH L 54.0% C 0.092 H 262.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#516EA4
RGBrgb(81, 110, 164)
HSLhsl(219, 34%, 48%)
HSVhsv(219, 51%, 64%)
CMYKcmyk(50.6%, 32.9%, 0%, 35.7%)
CIE-LABlab(46.42, 5.11, -32.32)
CIE-LCHlch(46.42, 32.72, 278.98°)
OKLaboklab(53.96% -0.0125 -0.0909)
OKLCHoklch(53.96% 0.092 262.2)
XYZxyz(15.6679, 15.5805, 37.2965)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EA4 #A48751
analogous
#5197A4 #516EA4 #5D51A4
triadic
#516EA4 #A4516E #6EA451
tetradic
#516EA4 #A45197 #A48751 #51A45D
square
#516EA4 #A45197 #A48751 #51A45D
split-complementary
#516EA4 #A45D51 #97A451
monochromatic
#293752 #3D537B #516EA4 #778FBC #A0B0D0

Accessibility & contrast

On white

5.10
#516EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#516EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EA4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EA4#FFFFFF#000000##FFFFFF
##516EA41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5972A6
Deuteranopia (green-blind)
#506AA3
Tritanopia (blue-blind)
#2C7A81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516ea4;
/* rgb */ color: rgb(81, 110, 164);
/* oklch */ color: oklch(54.0% 0.092 262.2);
Tailwind
colors: {
  custom: {
    50: '#8797bf',
    500: '#516ea4',
    950: '#000000',
  },
}
SCSS
$custom: #516ea4;
$custom-light: #8797bf;
$custom-dark: #000000;
JSON
{
  "hex": "#516ea4",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 164
  },
  "hsl": {
    "h": 219.036,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.09174,
    "h": 262.2
  },
  "luminance": 0.15582
}

Semantic roles & 50–950 ramp

primary
#516EA4
secondary
#BDAF94
accent
#A45ECA
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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