#516792#516792

#516792 is a mid, moderate blue. Relative luminance 0.135; OKLCH L 51.4% C 0.074 H 263.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#516792
RGBrgb(81, 103, 146)
HSLhsl(220, 29%, 45%)
HSVhsv(220, 45%, 57%)
CMYKcmyk(44.5%, 29.5%, 0%, 42.7%)
CIE-LABlab(43.54, 3.78, -26.15)
CIE-LCHlch(43.54, 26.43, 278.21°)
OKLaboklab(51.44% -0.0087 -0.0731)
OKLCHoklch(51.44% 0.074 263.2)
XYZxyz(13.4302, 13.5244, 29.0913)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516792 #927C51
analogous
#518892 #516792 #5C5192
triadic
#516792 #925167 #679251
tetradic
#516792 #925188 #927C51 #51925C
square
#516792 #925188 #927C51 #51925C
split-complementary
#516792 #925C51 #889251
monochromatic
#252F43 #3B4B6B #516792 #7086B0 #98A7C6

Accessibility & contrast

On white

5.67
#516792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#516792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516792
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516792#FFFFFF#000000##FFFFFF
##5167921.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576A94
Deuteranopia (green-blind)
#516491
Tritanopia (blue-blind)
#397076
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #516792;
/* rgb */ color: rgb(81, 103, 146);
/* oklch */ color: oklch(51.4% 0.074 263.2);
Tailwind
colors: {
  custom: {
    50: '#8592b2',
    500: '#516792',
    950: '#000000',
  },
}
SCSS
$custom: #516792;
$custom-light: #8592b2;
$custom-dark: #000000;
JSON
{
  "hex": "#516792",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 146
  },
  "hsl": {
    "h": 219.692,
    "s": 28.634,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51444,
    "c": 0.07361,
    "h": 263.2
  },
  "luminance": 0.13525
}

Semantic roles & 50–950 ramp

primary
#516792
secondary
#B3A68C
accent
#A463C5
background
#F8F8FA
surface
#EFF0F5
border
#CACBCF
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516792

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

Preview Lab → · Contrast checker → · Palette generator →

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