#516FA9#516FA9

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

Color values

HEX#516FA9
RGBrgb(81, 111, 169)
HSLhsl(220, 35%, 49%)
HSVhsv(220, 52%, 66%)
CMYKcmyk(52.1%, 34.3%, 0%, 33.7%)
CIE-LABlab(46.95, 6.09, -34.41)
CIE-LCHlch(46.95, 34.95, 280.04°)
OKLaboklab(54.46% -0.0124 -0.097)
OKLCHoklch(54.46% 0.098 262.7)
XYZxyz(16.2368, 15.9816, 39.7576)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FA9 #A98B51
analogous
#519BA9 #516FA9 #5F51A9
triadic
#516FA9 #A9516F #6FA951
tetradic
#516FA9 #A9519B #A98B51 #51A95F
square
#516FA9 #A9519B #A98B51 #51A95F
split-complementary
#516FA9 #A95F51 #9BA951
monochromatic
#293956 #3D5480 #516FA9 #7990BF #A2B2D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516FA9#FFFFFF#000000##FFFFFF
##516FA91.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)
#5874AB
Deuteranopia (green-blind)
#4E6CA8
Tritanopia (blue-blind)
#277C84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516fa9;
/* rgb */ color: rgb(81, 111, 169);
/* oklch */ color: oklch(54.5% 0.098 262.7);
Tailwind
colors: {
  custom: {
    50: '#8798c3',
    500: '#516fa9',
    950: '#000000',
  },
}
SCSS
$custom: #516fa9;
$custom-light: #8798c3;
$custom-dark: #000000;
JSON
{
  "hex": "#516fa9",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 169
  },
  "hsl": {
    "h": 219.545,
    "s": 35.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54456,
    "c": 0.09776,
    "h": 262.7
  },
  "luminance": 0.15983
}

Semantic roles & 50–950 ramp

primary
#516FA9
secondary
#C0B196
accent
#A65DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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