#516DAE#516DAE

#516DAE is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.3% C 0.107 H 265.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#516DAE
RGBrgb(81, 109, 174)
HSLhsl(222, 36%, 50%)
HSVhsv(222, 53%, 68%)
CMYKcmyk(53.4%, 37.4%, 0%, 31.8%)
CIE-LABlab(46.63, 8.95, -37.84)
CIE-LCHlch(46.63, 38.88, 283.31°)
OKLaboklab(54.29% -0.0087 -0.107)
OKLCHoklch(54.29% 0.107 265.4)
XYZxyz(16.4994, 15.7414, 42.2051)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DAE #AE9251
analogous
#519CAE #516DAE #6351AE
triadic
#516DAE #AE516D #6DAE51
tetradic
#516DAE #AE519C #AE9251 #51AE63
square
#516DAE #AE519C #AE9251 #51AE63
split-complementary
#516DAE #AE6351 #9CAE51
monochromatic
#2A395A #3E5384 #516DAE #7B90C1 #A5B3D5

Accessibility & contrast

On white

5.06
#516DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516DAE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DAE#FFFFFF#000000##FFFFFF
##516DAE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5373B1
Deuteranopia (green-blind)
#486BAD
Tritanopia (blue-blind)
#227B85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516dae;
/* rgb */ color: rgb(81, 109, 174);
/* oklch */ color: oklch(54.3% 0.107 265.4);
Tailwind
colors: {
  custom: {
    50: '#8896c6',
    500: '#516dae',
    950: '#000000',
  },
}
SCSS
$custom: #516dae;
$custom-light: #8896c6;
$custom-dark: #000000;
JSON
{
  "hex": "#516dae",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 174
  },
  "hsl": {
    "h": 221.935,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.54293,
    "c": 0.10731,
    "h": 265.4
  },
  "luminance": 0.15743
}

Semantic roles & 50–950 ramp

primary
#516DAE
secondary
#C2B699
accent
#AA5BCC
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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