#516FA8#516FA8

#516FA8 is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.4% C 0.096 H 262.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#516FA8
RGBrgb(81, 111, 168)
HSLhsl(219, 35%, 49%)
HSVhsv(219, 52%, 66%)
CMYKcmyk(51.8%, 33.9%, 0%, 34.1%)
CIE-LABlab(46.90, 5.77, -33.91)
CIE-LCHlch(46.90, 34.39, 279.66°)
OKLaboklab(54.4% -0.0126 -0.0955)
OKLCHoklch(54.4% 0.096 262.5)
XYZxyz(16.1433, 15.9442, 39.2651)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FA8 #A88A51
analogous
#519BA8 #516FA8 #5F51A8
triadic
#516FA8 #A8516F #6FA851
tetradic
#516FA8 #A8519B #A88A51 #51A85F
square
#516FA8 #A8519B #A88A51 #51A85F
split-complementary
#516FA8 #A85F51 #9BA851
monochromatic
#293855 #3D547F #516FA8 #7890BE #A1B2D2

Accessibility & contrast

On white

5.01
#516FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#516FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FA8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FA8#FFFFFF#000000##FFFFFF
##516FA81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5974AA
Deuteranopia (green-blind)
#4F6CA7
Tritanopia (blue-blind)
#287B84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516fa8;
/* rgb */ color: rgb(81, 111, 168);
/* oklch */ color: oklch(54.4% 0.096 262.5);
Tailwind
colors: {
  custom: {
    50: '#8798c2',
    500: '#516fa8',
    950: '#000000',
  },
}
SCSS
$custom: #516fa8;
$custom-light: #8798c2;
$custom-dark: #000000;
JSON
{
  "hex": "#516fa8",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 168
  },
  "hsl": {
    "h": 219.31,
    "s": 34.94,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54402,
    "c": 0.09633,
    "h": 262.5
  },
  "luminance": 0.15945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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