#516CAE#516CAE

#516CAE is a mid, moderate blue. Relative luminance 0.155; OKLCH L 54.1% C 0.109 H 266.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#516CAE
RGBrgb(81, 108, 174)
HSLhsl(223, 36%, 50%)
HSVhsv(223, 53%, 68%)
CMYKcmyk(53.4%, 37.9%, 0%, 31.8%)
CIE-LABlab(46.35, 9.57, -38.28)
CIE-LCHlch(46.35, 39.46, 284.03°)
OKLaboklab(54.07% -0.0075 -0.1083)
OKLCHoklch(54.07% 0.109 266)
XYZxyz(16.3933, 15.5293, 42.1698)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CAE #AE9351
analogous
#519AAE #516CAE #6551AE
triadic
#516CAE #AE516C #6CAE51
tetradic
#516CAE #AE519A #AE9351 #51AE65
square
#516CAE #AE519A #AE9351 #51AE65
split-complementary
#516CAE #AE6551 #9AAE51
monochromatic
#2A385A #3E5284 #516CAE #7B8FC1 #A5B3D5

Accessibility & contrast

On white

5.11
#516CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#516CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CAE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CAE#FFFFFF#000000##FFFFFF
##516CAE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5272B1
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#227A85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516cae;
/* rgb */ color: rgb(81, 108, 174);
/* oklch */ color: oklch(54.1% 0.109 266.0);
Tailwind
colors: {
  custom: {
    50: '#8895c6',
    500: '#516cae',
    950: '#000000',
  },
}
SCSS
$custom: #516cae;
$custom-light: #8895c6;
$custom-dark: #000000;
JSON
{
  "hex": "#516cae",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 174
  },
  "hsl": {
    "h": 222.581,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.10853,
    "h": 266
  },
  "luminance": 0.1553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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