#516892#516892

#516892 is a mid, moderate blue. Relative luminance 0.137; OKLCH L 51.7% C 0.072 H 262.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#516892
RGBrgb(81, 104, 146)
HSLhsl(219, 29%, 45%)
HSVhsv(219, 45%, 57%)
CMYKcmyk(44.5%, 28.8%, 0%, 42.7%)
CIE-LABlab(43.84, 3.16, -25.70)
CIE-LCHlch(43.84, 25.89, 277.01°)
OKLaboklab(51.67% -0.01 -0.0718)
OKLCHoklch(51.67% 0.072 262)
XYZxyz(13.5303, 13.7245, 29.1247)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516892 #927B51
analogous
#518992 #516892 #5B5192
triadic
#516892 #925168 #689251
tetradic
#516892 #925189 #927B51 #51925B
square
#516892 #925189 #927B51 #51925B
split-complementary
#516892 #925B51 #899251
monochromatic
#253043 #3B4C6B #516892 #7087B0 #98A8C6

Accessibility & contrast

On white

5.61
#516892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516892
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516892#FFFFFF#000000##FFFFFF
##5168921.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596B94
Deuteranopia (green-blind)
#526591
Tritanopia (blue-blind)
#397177
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #516892;
/* rgb */ color: rgb(81, 104, 146);
/* oklch */ color: oklch(51.7% 0.072 262.0);
Tailwind
colors: {
  custom: {
    50: '#8593b2',
    500: '#516892',
    950: '#000000',
  },
}
SCSS
$custom: #516892;
$custom-light: #8593b2;
$custom-dark: #000000;
JSON
{
  "hex": "#516892",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 146
  },
  "hsl": {
    "h": 218.769,
    "s": 28.634,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51672,
    "c": 0.07248,
    "h": 262
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#516892
secondary
#B3A58C
accent
#A263C5
background
#F8F9FA
surface
#EFF1F5
border
#CACBCF
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #516892

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

Preview Lab → · Contrast checker → · Palette generator →

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