#516A9B#516A9B

#516A9B is a mid, moderate blue. Relative luminance 0.144; OKLCH L 52.6% C 0.083 H 263.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#516A9B
RGBrgb(81, 106, 155)
HSLhsl(220, 31%, 46%)
HSVhsv(220, 48%, 61%)
CMYKcmyk(47.7%, 31.6%, 0%, 39.2%)
CIE-LABlab(44.83, 4.72, -29.49)
CIE-LCHlch(44.83, 29.87, 279.09°)
OKLaboklab(52.59% -0.01 -0.0827)
OKLCHoklch(52.59% 0.083 263.1)
XYZxyz(14.4618, 14.4230, 33.0259)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A9B #9B8251
analogous
#518F9B #516A9B #5D519B
triadic
#516A9B #9B516A #6A9B51
tetradic
#516A9B #9B518F #9B8251 #519B5D
square
#516A9B #9B518F #9B8251 #519B5D
split-complementary
#516A9B #9B5D51 #8F9B51
monochromatic
#27334B #3C4F73 #516A9B #738AB6 #9BABCB

Accessibility & contrast

On white

5.41
#516A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#516A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A9B
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A9B#FFFFFF#000000##FFFFFF
##516A9B1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586E9D
Deuteranopia (green-blind)
#50679A
Tritanopia (blue-blind)
#33747B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #516a9b;
/* rgb */ color: rgb(81, 106, 155);
/* oklch */ color: oklch(52.6% 0.083 263.1);
Tailwind
colors: {
  custom: {
    50: '#8694b8',
    500: '#516a9b',
    950: '#000000',
  },
}
SCSS
$custom: #516a9b;
$custom-light: #8694b8;
$custom-dark: #000000;
JSON
{
  "hex": "#516a9b",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 155
  },
  "hsl": {
    "h": 219.73,
    "s": 31.356,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52588,
    "c": 0.08332,
    "h": 263.1
  },
  "luminance": 0.14424
}

Semantic roles & 50–950 ramp

primary
#516A9B
secondary
#B8AA90
accent
#A560C8
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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