#516CA6#516CA6

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

Color values

HEX#516CA6
RGBrgb(81, 108, 166)
HSLhsl(221, 34%, 48%)
HSVhsv(221, 51%, 65%)
CMYKcmyk(51.2%, 34.9%, 0%, 34.9%)
CIE-LABlab(45.94, 6.98, -34.24)
CIE-LCHlch(45.94, 34.94, 281.51°)
OKLaboklab(53.63% -0.0095 -0.0965)
OKLCHoklch(53.63% 0.097 264.4)
XYZxyz(15.6366, 15.2266, 38.1841)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CA6 #A68B51
analogous
#5196A6 #516CA6 #6051A6
triadic
#516CA6 #A6516C #6CA651
tetradic
#516CA6 #A65196 #A68B51 #51A660
square
#516CA6 #A65196 #A68B51 #51A660
split-complementary
#516CA6 #A66051 #96A651
monochromatic
#293654 #3D517D #516CA6 #778DBD #A1B0D1

Accessibility & contrast

On white

5.19
#516CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#516CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CA6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CA6#FFFFFF#000000##FFFFFF
##516CA61.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5671A8
Deuteranopia (green-blind)
#4C69A5
Tritanopia (blue-blind)
#2A7881
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #516ca6;
/* rgb */ color: rgb(81, 108, 166);
/* oklch */ color: oklch(53.6% 0.097 264.4);
Tailwind
colors: {
  custom: {
    50: '#8795c0',
    500: '#516ca6',
    950: '#000000',
  },
}
SCSS
$custom: #516ca6;
$custom-light: #8795c0;
$custom-dark: #000000;
JSON
{
  "hex": "#516ca6",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 166
  },
  "hsl": {
    "h": 220.941,
    "s": 34.413,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53625,
    "c": 0.09695,
    "h": 264.4
  },
  "luminance": 0.15228
}

Semantic roles & 50–950 ramp

primary
#516CA6
secondary
#BEB195
accent
#A85DCA
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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