#516CA3#516CA3

#516CA3 is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.5% C 0.093 H 263.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#516CA3
RGBrgb(81, 108, 163)
HSLhsl(220, 34%, 48%)
HSVhsv(220, 50%, 64%)
CMYKcmyk(50.3%, 33.7%, 0%, 36.1%)
CIE-LABlab(45.80, 6.01, -32.71)
CIE-LCHlch(45.80, 33.26, 280.42°)
OKLaboklab(53.46% -0.0103 -0.092)
OKLCHoklch(53.46% 0.093 263.6)
XYZxyz(15.3646, 15.1178, 36.7516)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CA3 #A38851
analogous
#5195A3 #516CA3 #5F51A3
triadic
#516CA3 #A3516C #6CA351
tetradic
#516CA3 #A35195 #A38851 #51A35F
square
#516CA3 #A35195 #A38851 #51A35F
split-complementary
#516CA3 #A35F51 #95A351
monochromatic
#283651 #3D517A #516CA3 #768DBB #9FAFCF

Accessibility & contrast

On white

5.22
#516CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#516CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CA3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CA3#FFFFFF#000000##FFFFFF
##516CA31.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5771A5
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#2D7880
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #516ca3;
/* rgb */ color: rgb(81, 108, 163);
/* oklch */ color: oklch(53.5% 0.093 263.6);
Tailwind
colors: {
  custom: {
    50: '#8795be',
    500: '#516ca3',
    950: '#000000',
  },
}
SCSS
$custom: #516ca3;
$custom-light: #8795be;
$custom-dark: #000000;
JSON
{
  "hex": "#516ca3",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 163
  },
  "hsl": {
    "h": 220.244,
    "s": 33.607,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.09261,
    "h": 263.6
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#516CA3
secondary
#BCAF93
accent
#A65ECA
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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