#516EA8#516EA8

#516EA8 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.2% C 0.097 H 263.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#516EA8
RGBrgb(81, 110, 168)
HSLhsl(220, 35%, 49%)
HSVhsv(220, 52%, 66%)
CMYKcmyk(51.8%, 34.5%, 0%, 34.1%)
CIE-LABlab(46.61, 6.39, -34.36)
CIE-LCHlch(46.61, 34.95, 280.53°)
OKLaboklab(54.18% -0.0114 -0.0968)
OKLCHoklch(54.18% 0.097 263.3)
XYZxyz(16.0348, 15.7272, 39.2289)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EA8 #A88B51
analogous
#519AA8 #516EA8 #6051A8
triadic
#516EA8 #A8516E #6EA851
tetradic
#516EA8 #A8519A #A88B51 #51A860
square
#516EA8 #A8519A #A88B51 #51A860
split-complementary
#516EA8 #A86051 #9AA851
monochromatic
#293855 #3D537F #516EA8 #788FBE #A1B2D2

Accessibility & contrast

On white

5.07
#516EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#516EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EA8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EA8#FFFFFF#000000##FFFFFF
##516EA81.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AA
Deuteranopia (green-blind)
#4D6BA7
Tritanopia (blue-blind)
#287B83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516ea8;
/* rgb */ color: rgb(81, 110, 168);
/* oklch */ color: oklch(54.2% 0.097 263.3);
Tailwind
colors: {
  custom: {
    50: '#8797c2',
    500: '#516ea8',
    950: '#000000',
  },
}
SCSS
$custom: #516ea8;
$custom-light: #8797c2;
$custom-dark: #000000;
JSON
{
  "hex": "#516ea8",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 168
  },
  "hsl": {
    "h": 220,
    "s": 34.94,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54179,
    "c": 0.09749,
    "h": 263.3
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#516EA8
secondary
#BFB196
accent
#A65DCB
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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