#516790#516790

#516790 is a mid, moderate blue. Relative luminance 0.135; OKLCH L 51.3% C 0.071 H 262.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#516790
RGBrgb(81, 103, 144)
HSLhsl(219, 28%, 44%)
HSVhsv(219, 44%, 56%)
CMYKcmyk(43.8%, 28.5%, 0%, 43.5%)
CIE-LABlab(43.45, 3.17, -25.10)
CIE-LCHlch(43.45, 25.30, 277.19°)
OKLaboklab(51.34% -0.0093 -0.0701)
OKLCHoklch(51.34% 0.071 262.4)
XYZxyz(13.2760, 13.4627, 28.2792)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516790 #907A51
analogous
#518790 #516790 #5B5190
triadic
#516790 #905167 #679051
tetradic
#516790 #905187 #907A51 #51905B
square
#516790 #905187 #907A51 #51905B
split-complementary
#516790 #905B51 #879051
monochromatic
#252F42 #3B4B69 #516790 #7086AE #97A7C4

Accessibility & contrast

On white

5.69
#516790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#516790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516790
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516790#FFFFFF#000000##FFFFFF
##5167901.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586A92
Deuteranopia (green-blind)
#52648F
Tritanopia (blue-blind)
#3B7075
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #516790;
/* rgb */ color: rgb(81, 103, 144);
/* oklch */ color: oklch(51.3% 0.071 262.4);
Tailwind
colors: {
  custom: {
    50: '#8592b0',
    500: '#516790',
    950: '#000000',
  },
}
SCSS
$custom: #516790;
$custom-light: #8592b0;
$custom-dark: #000000;
JSON
{
  "hex": "#516790",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 144
  },
  "hsl": {
    "h": 219.048,
    "s": 28,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51344,
    "c": 0.07068,
    "h": 262.4
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#516790
secondary
#B1A48B
accent
#A363C4
background
#F8F8FA
surface
#EFF0F5
border
#CACBCF
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #516790

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

Preview Lab → · Contrast checker → · Palette generator →

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