#516FA6#516FA6

#516FA6 is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.3% C 0.093 H 261.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#516FA6
RGBrgb(81, 111, 166)
HSLhsl(219, 34%, 48%)
HSVhsv(219, 51%, 65%)
CMYKcmyk(51.2%, 33.1%, 0%, 34.9%)
CIE-LABlab(46.80, 5.13, -32.89)
CIE-LCHlch(46.80, 33.29, 278.87°)
OKLaboklab(54.29% -0.0132 -0.0925)
OKLCHoklch(54.29% 0.093 261.9)
XYZxyz(15.9584, 15.8703, 38.2913)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FA6 #A68851
analogous
#5199A6 #516FA6 #5D51A6
triadic
#516FA6 #A6516F #6FA651
tetradic
#516FA6 #A65199 #A68851 #51A65D
square
#516FA6 #A65199 #A68851 #51A65D
split-complementary
#516FA6 #A65D51 #99A651
monochromatic
#293854 #3D537D #516FA6 #7790BD #A1B2D1

Accessibility & contrast

On white

5.03
#516FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#516FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FA6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FA6#FFFFFF#000000##FFFFFF
##516FA61.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A73A8
Deuteranopia (green-blind)
#506BA5
Tritanopia (blue-blind)
#2A7B83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516fa6;
/* rgb */ color: rgb(81, 111, 166);
/* oklch */ color: oklch(54.3% 0.093 261.9);
Tailwind
colors: {
  custom: {
    50: '#8798c0',
    500: '#516fa6',
    950: '#000000',
  },
}
SCSS
$custom: #516fa6;
$custom-light: #8798c0;
$custom-dark: #000000;
JSON
{
  "hex": "#516fa6",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 166
  },
  "hsl": {
    "h": 218.824,
    "s": 34.413,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54294,
    "c": 0.09347,
    "h": 261.9
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#516FA6
secondary
#BEAF95
accent
#A45DCA
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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