#516EA6#516EA6

#516EA6 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.1% C 0.095 H 262.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#516EA6
RGBrgb(81, 110, 166)
HSLhsl(220, 34%, 48%)
HSVhsv(220, 51%, 65%)
CMYKcmyk(51.2%, 33.7%, 0%, 34.9%)
CIE-LABlab(46.52, 5.74, -33.34)
CIE-LCHlch(46.52, 33.83, 279.78°)
OKLaboklab(54.07% -0.0119 -0.0939)
OKLCHoklch(54.07% 0.095 262.8)
XYZxyz(15.8499, 15.6533, 38.2552)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EA6 #A68951
analogous
#5198A6 #516EA6 #5E51A6
triadic
#516EA6 #A6516E #6EA651
tetradic
#516EA6 #A65198 #A68951 #51A65E
square
#516EA6 #A65198 #A68951 #51A65E
split-complementary
#516EA6 #A65E51 #98A651
monochromatic
#293754 #3D537D #516EA6 #778FBD #A1B1D1

Accessibility & contrast

On white

5.08
#516EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#516EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516EA6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EA6#FFFFFF#000000##FFFFFF
##516EA61.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873A8
Deuteranopia (green-blind)
#4F6BA5
Tritanopia (blue-blind)
#2A7A82
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516ea6;
/* rgb */ color: rgb(81, 110, 166);
/* oklch */ color: oklch(54.1% 0.095 262.8);
Tailwind
colors: {
  custom: {
    50: '#8797c0',
    500: '#516ea6',
    950: '#000000',
  },
}
SCSS
$custom: #516ea6;
$custom-light: #8797c0;
$custom-dark: #000000;
JSON
{
  "hex": "#516ea6",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 166
  },
  "hsl": {
    "h": 219.529,
    "s": 34.413,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.09462,
    "h": 262.8
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#516EA6
secondary
#BEB095
accent
#A55DCA
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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