#516386#516386

#516386 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 49.9% C 0.060 H 263.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#516386
RGBrgb(81, 99, 134)
HSLhsl(220, 25%, 42%)
HSVhsv(220, 40%, 53%)
CMYKcmyk(39.6%, 26.1%, 0%, 47.5%)
CIE-LABlab(41.84, 2.63, -21.60)
CIE-LCHlch(41.84, 21.76, 276.95°)
OKLaboklab(49.94% -0.007 -0.06)
OKLCHoklch(49.94% 0.06 263.3)
XYZxyz(12.1569, 12.3936, 24.3013)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516386 #867451
analogous
#517D86 #516386 #5A5186
triadic
#516386 #865163 #638651
tetradic
#516386 #86517D #867451 #51865A
square
#516386 #86517D #867451 #51865A
split-complementary
#516386 #865A51 #7D8651
monochromatic
#232B3A #3A4760 #516386 #6D81A7 #93A2BE

Accessibility & contrast

On white

6.04
#516386 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#516386 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516386
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516386#FFFFFF#000000##FFFFFF
##5163861.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576588
Deuteranopia (green-blind)
#516185
Tritanopia (blue-blind)
#406A6F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516386;
/* rgb */ color: rgb(81, 99, 134);
/* oklch */ color: oklch(49.9% 0.060 263.3);
Tailwind
colors: {
  custom: {
    50: '#848fa9',
    500: '#516386',
    950: '#000000',
  },
}
SCSS
$custom: #516386;
$custom-light: #848fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#516386",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 134
  },
  "hsl": {
    "h": 219.623,
    "s": 24.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49935,
    "c": 0.06043,
    "h": 263.3
  },
  "luminance": 0.12394
}

Semantic roles & 50–950 ramp

primary
#516386
secondary
#AB9F88
accent
#A267C1
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #516386

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

Preview Lab → · Contrast checker → · Palette generator →

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