#516CA5#516CA5

#516CA5 is a mid, moderate blue. Relative luminance 0.152; OKLCH L 53.6% C 0.096 H 264.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#516CA5
RGBrgb(81, 108, 165)
HSLhsl(221, 34%, 48%)
HSVhsv(221, 51%, 65%)
CMYKcmyk(50.9%, 34.5%, 0%, 35.3%)
CIE-LABlab(45.89, 6.65, -33.73)
CIE-LCHlch(45.89, 34.38, 281.16°)
OKLaboklab(53.57% -0.0097 -0.095)
OKLCHoklch(53.57% 0.096 264.2)
XYZxyz(15.5452, 15.1900, 37.7028)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CA5 #A58A51
analogous
#5196A5 #516CA5 #6051A5
triadic
#516CA5 #A5516C #6CA551
tetradic
#516CA5 #A55196 #A58A51 #51A560
square
#516CA5 #A55196 #A58A51 #51A560
split-complementary
#516CA5 #A56051 #96A551
monochromatic
#293653 #3D517C #516CA5 #778DBC #A0B0D0

Accessibility & contrast

On white

5.20
#516CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#516CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CA5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CA5#FFFFFF#000000##FFFFFF
##516CA51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5671A7
Deuteranopia (green-blind)
#4D69A4
Tritanopia (blue-blind)
#2B7881
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516ca5;
/* rgb */ color: rgb(81, 108, 165);
/* oklch */ color: oklch(53.6% 0.096 264.2);
Tailwind
colors: {
  custom: {
    50: '#8795c0',
    500: '#516ca5',
    950: '#000000',
  },
}
SCSS
$custom: #516ca5;
$custom-light: #8795c0;
$custom-dark: #000000;
JSON
{
  "hex": "#516ca5",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 165
  },
  "hsl": {
    "h": 220.714,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.09551,
    "h": 264.2
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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