#516893#516893

#516893 is a mid, moderate blue. Relative luminance 0.138; OKLCH L 51.7% C 0.074 H 262.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#516893
RGBrgb(81, 104, 147)
HSLhsl(219, 29%, 45%)
HSVhsv(219, 45%, 58%)
CMYKcmyk(44.9%, 29.3%, 0%, 42.4%)
CIE-LABlab(43.88, 3.47, -26.23)
CIE-LCHlch(43.88, 26.45, 277.53°)
OKLaboklab(51.72% -0.0097 -0.0733)
OKLCHoklch(51.72% 0.074 262.4)
XYZxyz(13.6084, 13.7558, 29.5362)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516893 #937C51
analogous
#518993 #516893 #5B5193
triadic
#516893 #935168 #689351
tetradic
#516893 #935189 #937C51 #51935B
square
#516893 #935189 #937C51 #51935B
split-complementary
#516893 #935B51 #899351
monochromatic
#263044 #3B4C6C #516893 #7187B1 #98A8C6

Accessibility & contrast

On white

5.60
#516893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#516893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516893
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516893#FFFFFF#000000##FFFFFF
##5168931.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586B95
Deuteranopia (green-blind)
#516592
Tritanopia (blue-blind)
#397177
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #516893;
/* rgb */ color: rgb(81, 104, 147);
/* oklch */ color: oklch(51.7% 0.074 262.4);
Tailwind
colors: {
  custom: {
    50: '#8592b3',
    500: '#516893',
    950: '#000000',
  },
}
SCSS
$custom: #516893;
$custom-light: #8592b3;
$custom-dark: #000000;
JSON
{
  "hex": "#516893",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 147
  },
  "hsl": {
    "h": 219.091,
    "s": 28.947,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51723,
    "c": 0.07394,
    "h": 262.4
  },
  "luminance": 0.13757
}

Semantic roles & 50–950 ramp

primary
#516893
secondary
#B3A68D
accent
#A363C5
background
#F8F9FB
surface
#EFF1F6
border
#CACBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516893

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

Preview Lab → · Contrast checker → · Palette generator →

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