#516993#516993

#516993 is a mid, moderate blue. Relative luminance 0.140; OKLCH L 52.0% C 0.073 H 261.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#516993
RGBrgb(81, 105, 147)
HSLhsl(218, 29%, 45%)
HSVhsv(218, 45%, 58%)
CMYKcmyk(44.9%, 28.6%, 0%, 42.4%)
CIE-LABlab(44.17, 2.85, -25.77)
CIE-LCHlch(44.17, 25.93, 276.32°)
OKLaboklab(51.95% -0.0111 -0.072)
OKLCHoklch(51.95% 0.073 261.3)
XYZxyz(13.7097, 13.9583, 29.5699)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516993 #937B51
analogous
#518A93 #516993 #5A5193
triadic
#516993 #935169 #699351
tetradic
#516993 #93518A #937B51 #51935A
square
#516993 #93518A #937B51 #51935A
split-complementary
#516993 #935A51 #8A9351
monochromatic
#263144 #3B4D6C #516993 #7188B1 #98A9C6

Accessibility & contrast

On white

5.54
#516993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#516993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516993
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516993#FFFFFF#000000##FFFFFF
##5169931.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6C95
Deuteranopia (green-blind)
#526692
Tritanopia (blue-blind)
#397278
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #516993;
/* rgb */ color: rgb(81, 105, 147);
/* oklch */ color: oklch(52.0% 0.073 261.3);
Tailwind
colors: {
  custom: {
    50: '#8593b3',
    500: '#516993',
    950: '#000000',
  },
}
SCSS
$custom: #516993;
$custom-light: #8593b3;
$custom-dark: #000000;
JSON
{
  "hex": "#516993",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 147
  },
  "hsl": {
    "h": 218.182,
    "s": 28.947,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51951,
    "c": 0.07282,
    "h": 261.3
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#516993
secondary
#B3A58D
accent
#A163C5
background
#F8F9FB
surface
#EFF1F6
border
#CACBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516993

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

Preview Lab → · Contrast checker → · Palette generator →

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