#516CA4#516CA4

#516CA4 is a mid, moderate blue. Relative luminance 0.152; OKLCH L 53.5% C 0.094 H 263.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#516CA4
RGBrgb(81, 108, 164)
HSLhsl(220, 34%, 48%)
HSVhsv(220, 51%, 64%)
CMYKcmyk(50.6%, 34.1%, 0%, 35.7%)
CIE-LABlab(45.84, 6.33, -33.22)
CIE-LCHlch(45.84, 33.82, 280.80°)
OKLaboklab(53.52% -0.01 -0.0935)
OKLCHoklch(53.52% 0.094 263.9)
XYZxyz(15.4545, 15.1537, 37.2254)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CA4 #A48951
analogous
#5195A4 #516CA4 #5F51A4
triadic
#516CA4 #A4516C #6CA451
tetradic
#516CA4 #A45195 #A48951 #51A45F
square
#516CA4 #A45195 #A48951 #51A45F
split-complementary
#516CA4 #A45F51 #95A451
monochromatic
#293652 #3D517B #516CA4 #778DBC #A0AFD0

Accessibility & contrast

On white

5.21
#516CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#516CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CA4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CA4#FFFFFF#000000##FFFFFF
##516CA41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5771A6
Deuteranopia (green-blind)
#4D69A3
Tritanopia (blue-blind)
#2C7880
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516ca4;
/* rgb */ color: rgb(81, 108, 164);
/* oklch */ color: oklch(53.5% 0.094 263.9);
Tailwind
colors: {
  custom: {
    50: '#8795bf',
    500: '#516ca4',
    950: '#000000',
  },
}
SCSS
$custom: #516ca4;
$custom-light: #8795bf;
$custom-dark: #000000;
JSON
{
  "hex": "#516ca4",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 164
  },
  "hsl": {
    "h": 220.482,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53516,
    "c": 0.09405,
    "h": 263.9
  },
  "luminance": 0.15155
}

Semantic roles & 50–950 ramp

primary
#516CA4
secondary
#BDB094
accent
#A75ECA
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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