#516B95#516B95

#516B95 is a mid, moderate blue. Relative luminance 0.144; OKLCH L 52.5% C 0.074 H 259.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#516B95
RGBrgb(81, 107, 149)
HSLhsl(217, 30%, 45%)
HSVhsv(217, 46%, 58%)
CMYKcmyk(45.6%, 28.2%, 0%, 41.6%)
CIE-LABlab(44.85, 2.24, -25.91)
CIE-LCHlch(44.85, 26.01, 274.95°)
OKLaboklab(52.51% -0.0131 -0.0724)
OKLCHoklch(52.51% 0.074 259.8)
XYZxyz(14.0741, 14.4338, 30.4723)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B95 #957B51
analogous
#518D95 #516B95 #595195
triadic
#516B95 #95516B #6B9551
tetradic
#516B95 #95518D #957B51 #519559
square
#516B95 #95518D #957B51 #519559
split-complementary
#516B95 #955951 #8D9551
monochromatic
#263246 #3B4F6D #516B95 #718AB2 #99ABC7

Accessibility & contrast

On white

5.40
#516B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#516B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516B95
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516B95#FFFFFF#000000##FFFFFF
##516B951.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E97
Deuteranopia (green-blind)
#546794
Tritanopia (blue-blind)
#37747A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #516b95;
/* rgb */ color: rgb(81, 107, 149);
/* oklch */ color: oklch(52.5% 0.074 259.8);
Tailwind
colors: {
  custom: {
    50: '#8595b4',
    500: '#516b95',
    950: '#000000',
  },
}
SCSS
$custom: #516b95;
$custom-light: #8595b4;
$custom-dark: #000000;
JSON
{
  "hex": "#516b95",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 149
  },
  "hsl": {
    "h": 217.059,
    "s": 29.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52508,
    "c": 0.07355,
    "h": 259.8
  },
  "luminance": 0.14435
}

Semantic roles & 50–950 ramp

primary
#516B95
secondary
#B4A58D
accent
#A062C6
background
#F8F9FB
surface
#EFF1F6
border
#CACBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516B95

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

Preview Lab → · Contrast checker → · Palette generator →

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