#516A95#516A95

#516A95 is a mid, moderate blue. Relative luminance 0.142; OKLCH L 52.3% C 0.075 H 260.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#516A95
RGBrgb(81, 106, 149)
HSLhsl(218, 30%, 45%)
HSVhsv(218, 46%, 58%)
CMYKcmyk(45.6%, 28.9%, 0%, 41.6%)
CIE-LABlab(44.56, 2.85, -26.36)
CIE-LCHlch(44.56, 26.52, 276.18°)
OKLaboklab(52.28% -0.0118 -0.0737)
OKLCHoklch(52.28% 0.075 260.9)
XYZxyz(13.9704, 14.2265, 30.4378)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A95 #957C51
analogous
#518C95 #516A95 #5A5195
triadic
#516A95 #95516A #6A9551
tetradic
#516A95 #95518C #957C51 #51955A
square
#516A95 #95518C #957C51 #51955A
split-complementary
#516A95 #955A51 #8C9551
monochromatic
#263246 #3B4E6D #516A95 #7189B2 #99AAC7

Accessibility & contrast

On white

5.46
#516A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#516A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A95
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A95#FFFFFF#000000##FFFFFF
##516A951.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6D97
Deuteranopia (green-blind)
#536694
Tritanopia (blue-blind)
#377379
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #516a95;
/* rgb */ color: rgb(81, 106, 149);
/* oklch */ color: oklch(52.3% 0.075 260.9);
Tailwind
colors: {
  custom: {
    50: '#8594b4',
    500: '#516a95',
    950: '#000000',
  },
}
SCSS
$custom: #516a95;
$custom-light: #8594b4;
$custom-dark: #000000;
JSON
{
  "hex": "#516a95",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 149
  },
  "hsl": {
    "h": 217.941,
    "s": 29.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5228,
    "c": 0.07462,
    "h": 260.9
  },
  "luminance": 0.14227
}

Semantic roles & 50–950 ramp

primary
#516A95
secondary
#B4A68D
accent
#A162C6
background
#F8F9FB
surface
#EFF1F6
border
#CACBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516A95

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

Preview Lab → · Contrast checker → · Palette generator →

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