#516EA1#516EA1

#516EA1 is a mid, moderate blue. Relative luminance 0.155; OKLCH L 53.8% C 0.087 H 261.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#516EA1
RGBrgb(81, 110, 161)
HSLhsl(218, 33%, 47%)
HSVhsv(218, 50%, 63%)
CMYKcmyk(49.7%, 31.7%, 0%, 36.9%)
CIE-LABlab(46.28, 4.15, -30.78)
CIE-LCHlch(46.28, 31.06, 277.68°)
OKLaboklab(53.8% -0.0133 -0.0864)
OKLCHoklch(53.8% 0.087 261.2)
XYZxyz(15.4002, 15.4734, 35.8865)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EA1 #A18451
analogous
#5196A1 #516EA1 #5C51A1
triadic
#516EA1 #A1516E #6EA151
tetradic
#516EA1 #A15196 #A18451 #51A15C
square
#516EA1 #A15196 #A18451 #51A15C
split-complementary
#516EA1 #A15C51 #96A151
monochromatic
#283650 #3D5278 #516EA1 #758EBA #9EB0CE

Accessibility & contrast

On white

5.13
#516EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#516EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EA1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EA1#FFFFFF#000000##FFFFFF
##516EA11.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A3
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#2E7980
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516ea1;
/* rgb */ color: rgb(81, 110, 161);
/* oklch */ color: oklch(53.8% 0.087 261.2);
Tailwind
colors: {
  custom: {
    50: '#8697bd',
    500: '#516ea1',
    950: '#000000',
  },
}
SCSS
$custom: #516ea1;
$custom-light: #8697bd;
$custom-dark: #000000;
JSON
{
  "hex": "#516ea1",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 161
  },
  "hsl": {
    "h": 218.25,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53804,
    "c": 0.08745,
    "h": 261.2
  },
  "luminance": 0.15474
}

Semantic roles & 50–950 ramp

primary
#516EA1
secondary
#BBAD93
accent
#A35FC9
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #516EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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