#516FAE#516FAE

#516FAE is a mid, moderate blue. Relative luminance 0.162; OKLCH L 54.7% C 0.105 H 263.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#516FAE
RGBrgb(81, 111, 174)
HSLhsl(221, 36%, 50%)
HSVhsv(221, 53%, 68%)
CMYKcmyk(53.4%, 36.2%, 0%, 31.8%)
CIE-LABlab(47.20, 7.71, -36.94)
CIE-LCHlch(47.20, 37.74, 281.80°)
OKLaboklab(54.73% -0.0111 -0.1043)
OKLCHoklch(54.73% 0.105 263.9)
XYZxyz(16.7152, 16.1730, 42.2771)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FAE #AE9051
analogous
#519EAE #516FAE #6151AE
triadic
#516FAE #AE516F #6FAE51
tetradic
#516FAE #AE519E #AE9051 #51AE61
square
#516FAE #AE519E #AE9051 #51AE61
split-complementary
#516FAE #AE6151 #9EAE51
monochromatic
#2A3A5A #3E5484 #516FAE #7B92C1 #A5B4D5

Accessibility & contrast

On white

4.96
#516FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#516FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FAE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FAE#FFFFFF#000000##FFFFFF
##516FAE1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5675B1
Deuteranopia (green-blind)
#4B6CAD
Tritanopia (blue-blind)
#217D86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516fae;
/* rgb */ color: rgb(81, 111, 174);
/* oklch */ color: oklch(54.7% 0.105 263.9);
Tailwind
colors: {
  custom: {
    50: '#8898c6',
    500: '#516fae',
    950: '#000000',
  },
}
SCSS
$custom: #516fae;
$custom-light: #8898c6;
$custom-dark: #000000;
JSON
{
  "hex": "#516fae",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 174
  },
  "hsl": {
    "h": 220.645,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.54733,
    "c": 0.10492,
    "h": 263.9
  },
  "luminance": 0.16174
}

Semantic roles & 50–950 ramp

primary
#516FAE
secondary
#C2B599
accent
#A85BCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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