#516BA5#516BA5

#516BA5 is a mid, moderate blue. Relative luminance 0.150; OKLCH L 53.3% C 0.097 H 265.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#516BA5
RGBrgb(81, 107, 165)
HSLhsl(221, 34%, 48%)
HSVhsv(221, 51%, 65%)
CMYKcmyk(50.9%, 35.2%, 0%, 35.3%)
CIE-LABlab(45.61, 7.27, -34.18)
CIE-LCHlch(45.61, 34.95, 282.01°)
OKLaboklab(53.35% -0.0085 -0.0963)
OKLCHoklch(53.35% 0.097 265)
XYZxyz(15.4403, 14.9803, 37.6679)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BA5 #A58B51
analogous
#5195A5 #516BA5 #6151A5
triadic
#516BA5 #A5516B #6BA551
tetradic
#516BA5 #A55195 #A58B51 #51A561
square
#516BA5 #A55195 #A58B51 #51A561
split-complementary
#516BA5 #A56151 #95A551
monochromatic
#293653 #3D507C #516BA5 #778CBC #A0AFD0

Accessibility & contrast

On white

5.25
#516BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#516BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BA5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BA5#FFFFFF#000000##FFFFFF
##516BA51.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5570A7
Deuteranopia (green-blind)
#4B68A4
Tritanopia (blue-blind)
#2C7780
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #516ba5;
/* rgb */ color: rgb(81, 107, 165);
/* oklch */ color: oklch(53.3% 0.097 265.0);
Tailwind
colors: {
  custom: {
    50: '#8795c0',
    500: '#516ba5',
    950: '#000000',
  },
}
SCSS
$custom: #516ba5;
$custom-light: #8795c0;
$custom-dark: #000000;
JSON
{
  "hex": "#516ba5",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 165
  },
  "hsl": {
    "h": 221.429,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53348,
    "c": 0.09669,
    "h": 265
  },
  "luminance": 0.14981
}

Semantic roles & 50–950 ramp

primary
#516BA5
secondary
#BDB194
accent
#A95ECA
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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