#516EA2#516EA2

#516EA2 is a mid, moderate blue. Relative luminance 0.155; OKLCH L 53.9% C 0.089 H 261.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#516EA2
RGBrgb(81, 110, 162)
HSLhsl(219, 33%, 48%)
HSVhsv(219, 50%, 64%)
CMYKcmyk(50%, 32.1%, 0%, 36.5%)
CIE-LABlab(46.32, 4.47, -31.29)
CIE-LCHlch(46.32, 31.61, 278.13°)
OKLaboklab(53.86% -0.013 -0.0879)
OKLCHoklch(53.86% 0.089 261.6)
XYZxyz(15.4887, 15.5088, 36.3527)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EA2 #A28551
analogous
#5196A2 #516EA2 #5D51A2
triadic
#516EA2 #A2516E #6EA251
tetradic
#516EA2 #A25196 #A28551 #51A25D
square
#516EA2 #A25196 #A28551 #51A25D
split-complementary
#516EA2 #A25D51 #96A251
monochromatic
#283750 #3D5279 #516EA2 #768EBA #9FB0CF

Accessibility & contrast

On white

5.12
#516EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#516EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EA2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EA2#FFFFFF#000000##FFFFFF
##516EA21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A4
Deuteranopia (green-blind)
#516AA1
Tritanopia (blue-blind)
#2D7981
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516ea2;
/* rgb */ color: rgb(81, 110, 162);
/* oklch */ color: oklch(53.9% 0.089 261.6);
Tailwind
colors: {
  custom: {
    50: '#8697be',
    500: '#516ea2',
    950: '#000000',
  },
}
SCSS
$custom: #516ea2;
$custom-light: #8697be;
$custom-dark: #000000;
JSON
{
  "hex": "#516ea2",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 218.519,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53857,
    "c": 0.08888,
    "h": 261.6
  },
  "luminance": 0.1551
}

Semantic roles & 50–950 ramp

primary
#516EA2
secondary
#BCAD93
accent
#A35EC9
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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