#516DA4#516DA4

#516DA4 is a mid, moderate blue. Relative luminance 0.154; OKLCH L 53.7% C 0.093 H 263.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#516DA4
RGBrgb(81, 109, 164)
HSLhsl(220, 34%, 48%)
HSVhsv(220, 51%, 64%)
CMYKcmyk(50.6%, 33.5%, 0%, 35.7%)
CIE-LABlab(46.13, 5.72, -32.77)
CIE-LCHlch(46.13, 33.26, 279.90°)
OKLaboklab(53.74% -0.0112 -0.0922)
OKLCHoklch(53.74% 0.093 263.1)
XYZxyz(15.5606, 15.3659, 37.2607)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DA4 #A48851
analogous
#5196A4 #516DA4 #5E51A4
triadic
#516DA4 #A4516D #6DA451
tetradic
#516DA4 #A45196 #A48851 #51A45E
square
#516DA4 #A45196 #A48851 #51A45E
split-complementary
#516DA4 #A45E51 #96A451
monochromatic
#293752 #3D527B #516DA4 #778EBC #A0B0D0

Accessibility & contrast

On white

5.16
#516DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#516DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DA4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DA4#FFFFFF#000000##FFFFFF
##516DA41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5871A6
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#2C7981
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516da4;
/* rgb */ color: rgb(81, 109, 164);
/* oklch */ color: oklch(53.7% 0.093 263.1);
Tailwind
colors: {
  custom: {
    50: '#8796bf',
    500: '#516da4',
    950: '#000000',
  },
}
SCSS
$custom: #516da4;
$custom-light: #8796bf;
$custom-dark: #000000;
JSON
{
  "hex": "#516da4",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 164
  },
  "hsl": {
    "h": 219.759,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.09289,
    "h": 263.1
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#516DA4
secondary
#BDAF94
accent
#A55ECA
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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