#516CA1#516CA1

#516CA1 is a mid, moderate blue. Relative luminance 0.150; OKLCH L 53.4% C 0.090 H 263.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#516CA1
RGBrgb(81, 108, 161)
HSLhsl(220, 33%, 47%)
HSVhsv(220, 50%, 63%)
CMYKcmyk(49.7%, 32.9%, 0%, 36.9%)
CIE-LABlab(45.70, 5.38, -31.68)
CIE-LCHlch(45.70, 32.14, 279.63°)
OKLaboklab(53.35% -0.0108 -0.0891)
OKLCHoklch(53.35% 0.09 263.1)
XYZxyz(15.1868, 15.0467, 35.8153)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CA1 #A18651
analogous
#5194A1 #516CA1 #5E51A1
triadic
#516CA1 #A1516C #6CA151
tetradic
#516CA1 #A15194 #A18651 #51A15E
square
#516CA1 #A15194 #A18651 #51A15E
split-complementary
#516CA1 #A15E51 #94A151
monochromatic
#283550 #3D5178 #516CA1 #758CBA #9EAECE

Accessibility & contrast

On white

5.24
#516CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#516CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CA1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CA1#FFFFFF#000000##FFFFFF
##516CA11.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5870A3
Deuteranopia (green-blind)
#4F69A0
Tritanopia (blue-blind)
#2F777F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #516ca1;
/* rgb */ color: rgb(81, 108, 161);
/* oklch */ color: oklch(53.4% 0.090 263.1);
Tailwind
colors: {
  custom: {
    50: '#8695bd',
    500: '#516ca1',
    950: '#000000',
  },
}
SCSS
$custom: #516ca1;
$custom-light: #8695bd;
$custom-dark: #000000;
JSON
{
  "hex": "#516ca1",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 161
  },
  "hsl": {
    "h": 219.75,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53354,
    "c": 0.08971,
    "h": 263.1
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#516CA1
secondary
#BBAE93
accent
#A55FC9
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #516CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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