#516FAC#516FAC

#516FAC is a mid, moderate blue. Relative luminance 0.161; OKLCH L 54.6% C 0.102 H 263.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#516FAC
RGBrgb(81, 111, 172)
HSLhsl(220, 36%, 50%)
HSVhsv(220, 53%, 67%)
CMYKcmyk(52.9%, 35.5%, 0%, 32.5%)
CIE-LABlab(47.10, 7.06, -35.93)
CIE-LCHlch(47.10, 36.62, 281.12°)
OKLaboklab(54.62% -0.0116 -0.1014)
OKLCHoklch(54.62% 0.102 263.5)
XYZxyz(16.5217, 16.0956, 41.2579)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FAC #AC8E51
analogous
#519CAC #516FAC #6151AC
triadic
#516FAC #AC516F #6FAC51
tetradic
#516FAC #AC519C #AC8E51 #51AC61
square
#516FAC #AC519C #AC8E51 #51AC61
split-complementary
#516FAC #AC6151 #9CAC51
monochromatic
#2A3959 #3D5482 #516FAC #7A91C0 #A3B3D4

Accessibility & contrast

On white

4.98
#516FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#516FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FAC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FAC#FFFFFF#000000##FFFFFF
##516FAC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5774AF
Deuteranopia (green-blind)
#4C6CAB
Tritanopia (blue-blind)
#247C85
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #516fac;
/* rgb */ color: rgb(81, 111, 172);
/* oklch */ color: oklch(54.6% 0.102 263.5);
Tailwind
colors: {
  custom: {
    50: '#8898c5',
    500: '#516fac',
    950: '#000000',
  },
}
SCSS
$custom: #516fac;
$custom-light: #8898c5;
$custom-dark: #000000;
JSON
{
  "hex": "#516fac",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 220.22,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54621,
    "c": 0.10206,
    "h": 263.5
  },
  "luminance": 0.16097
}

Semantic roles & 50–950 ramp

primary
#516FAC
secondary
#C1B398
accent
#A75CCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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