#516FAA#516FAA

#516FAA is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.5% C 0.099 H 263.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#516FAA
RGBrgb(81, 111, 170)
HSLhsl(220, 35%, 49%)
HSVhsv(220, 52%, 67%)
CMYKcmyk(52.4%, 34.7%, 0%, 33.3%)
CIE-LABlab(47.00, 6.42, -34.92)
CIE-LCHlch(47.00, 35.51, 280.41°)
OKLaboklab(54.51% -0.0121 -0.0984)
OKLCHoklch(54.51% 0.099 263)
XYZxyz(16.3310, 16.0193, 40.2539)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FAA #AA8C51
analogous
#519CAA #516FAA #6051AA
triadic
#516FAA #AA516F #6FAA51
tetradic
#516FAA #AA519C #AA8C51 #51AA60
square
#516FAA #AA519C #AA8C51 #51AA60
split-complementary
#516FAA #AA6051 #9CAA51
monochromatic
#2A3957 #3D5481 #516FAA #7991BF #A2B3D3

Accessibility & contrast

On white

5.00
#516FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#516FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FAA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FAA#FFFFFF#000000##FFFFFF
##516FAA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5874AC
Deuteranopia (green-blind)
#4E6CA9
Tritanopia (blue-blind)
#267C84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516faa;
/* rgb */ color: rgb(81, 111, 170);
/* oklch */ color: oklch(54.5% 0.099 263.0);
Tailwind
colors: {
  custom: {
    50: '#8798c3',
    500: '#516faa',
    950: '#000000',
  },
}
SCSS
$custom: #516faa;
$custom-light: #8798c3;
$custom-dark: #000000;
JSON
{
  "hex": "#516faa",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 170
  },
  "hsl": {
    "h": 219.775,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.09919,
    "h": 263
  },
  "luminance": 0.1602
}

Semantic roles & 50–950 ramp

primary
#516FAA
secondary
#C0B297
accent
#A65CCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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