#516692#516692

#516692 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.2% C 0.075 H 264.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#516692
RGBrgb(81, 102, 146)
HSLhsl(221, 29%, 45%)
HSVhsv(221, 45%, 57%)
CMYKcmyk(44.5%, 30.1%, 0%, 42.7%)
CIE-LABlab(43.25, 4.39, -26.61)
CIE-LCHlch(43.25, 26.97, 279.37°)
OKLaboklab(51.22% -0.0074 -0.0744)
OKLCHoklch(51.22% 0.075 264.4)
XYZxyz(13.3314, 13.3266, 29.0584)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516692 #927D51
analogous
#518792 #516692 #5D5192
triadic
#516692 #925166 #669251
tetradic
#516692 #925187 #927D51 #51925D
square
#516692 #925187 #927D51 #51925D
split-complementary
#516692 #925D51 #879251
monochromatic
#252F43 #3B4B6B #516692 #7085B0 #98A7C6

Accessibility & contrast

On white

5.73
#516692 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#516692 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516692
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516692#FFFFFF#000000##FFFFFF
##5166921.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566994
Deuteranopia (green-blind)
#4F6391
Tritanopia (blue-blind)
#3A6F76
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516692;
/* rgb */ color: rgb(81, 102, 146);
/* oklch */ color: oklch(51.2% 0.075 264.4);
Tailwind
colors: {
  custom: {
    50: '#8591b2',
    500: '#516692',
    950: '#000000',
  },
}
SCSS
$custom: #516692;
$custom-light: #8591b2;
$custom-dark: #000000;
JSON
{
  "hex": "#516692",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 146
  },
  "hsl": {
    "h": 220.615,
    "s": 28.634,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.07476,
    "h": 264.4
  },
  "luminance": 0.13327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516692

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

Preview Lab → · Contrast checker → · Palette generator →

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