#516486#516486

#516486 is a mid, muted blue. Relative luminance 0.126; OKLCH L 50.2% C 0.059 H 261.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#516486
RGBrgb(81, 100, 134)
HSLhsl(218, 25%, 42%)
HSVhsv(218, 40%, 53%)
CMYKcmyk(39.6%, 25.4%, 0%, 47.5%)
CIE-LABlab(42.13, 2.02, -21.15)
CIE-LCHlch(42.13, 21.24, 275.45°)
OKLaboklab(50.17% -0.0085 -0.0587)
OKLCHoklch(50.17% 0.059 261.8)
XYZxyz(12.2523, 12.5843, 24.3331)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516486 #867351
analogous
#517E86 #516486 #595186
triadic
#516486 #865164 #648651
tetradic
#516486 #86517E #867351 #518659
square
#516486 #86517E #867351 #518659
split-complementary
#516486 #865951 #7E8651
monochromatic
#232B3A #3A4860 #516486 #6D82A7 #93A3BE

Accessibility & contrast

On white

5.97
#516486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#516486 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516486
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516486#FFFFFF#000000##FFFFFF
##5164861.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586688
Deuteranopia (green-blind)
#536185
Tritanopia (blue-blind)
#406B70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516486;
/* rgb */ color: rgb(81, 100, 134);
/* oklch */ color: oklch(50.2% 0.059 261.8);
Tailwind
colors: {
  custom: {
    50: '#8490a9',
    500: '#516486',
    950: '#000000',
  },
}
SCSS
$custom: #516486;
$custom-light: #8490a9;
$custom-dark: #000000;
JSON
{
  "hex": "#516486",
  "rgb": {
    "r": 81,
    "g": 100,
    "b": 134
  },
  "hsl": {
    "h": 218.491,
    "s": 24.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.05933,
    "h": 261.8
  },
  "luminance": 0.12585
}

Semantic roles & 50–950 ramp

primary
#516486
secondary
#AB9E88
accent
#A167C1
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #516486

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

Preview Lab → · Contrast checker → · Palette generator →

#516486 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva