#516286#516286

#516286 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 49.7% C 0.062 H 264.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#516286
RGBrgb(81, 98, 134)
HSLhsl(221, 25%, 42%)
HSVhsv(221, 40%, 53%)
CMYKcmyk(39.6%, 26.9%, 0%, 47.5%)
CIE-LABlab(41.54, 3.25, -22.06)
CIE-LCHlch(41.54, 22.29, 278.38°)
OKLaboklab(49.71% -0.0056 -0.0613)
OKLCHoklch(49.71% 0.062 264.7)
XYZxyz(12.0628, 12.2053, 24.2699)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516286 #867551
analogous
#517D86 #516286 #5B5186
triadic
#516286 #865162 #628651
tetradic
#516286 #86517D #867551 #51865B
square
#516286 #86517D #867551 #51865B
split-complementary
#516286 #865B51 #7D8651
monochromatic
#232A3A #3A4660 #516286 #6D80A7 #93A1BE

Accessibility & contrast

On white

6.10
#516286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#516286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516286
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516286#FFFFFF#000000##FFFFFF
##5162861.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566588
Deuteranopia (green-blind)
#506085
Tritanopia (blue-blind)
#40696E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516286;
/* rgb */ color: rgb(81, 98, 134);
/* oklch */ color: oklch(49.7% 0.062 264.7);
Tailwind
colors: {
  custom: {
    50: '#848ea9',
    500: '#516286',
    950: '#000000',
  },
}
SCSS
$custom: #516286;
$custom-light: #848ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#516286",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 134
  },
  "hsl": {
    "h": 220.755,
    "s": 24.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49706,
    "c": 0.06158,
    "h": 264.7
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

primary
#516286
secondary
#ABA088
accent
#A467C1
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #516286

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

Preview Lab → · Contrast checker → · Palette generator →

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