#516693#516693

#516693 is a mid, moderate blue. Relative luminance 0.134; OKLCH L 51.3% C 0.076 H 264.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#516693
RGBrgb(81, 102, 147)
HSLhsl(221, 29%, 45%)
HSVhsv(221, 45%, 58%)
CMYKcmyk(44.9%, 30.6%, 0%, 42.4%)
CIE-LABlab(43.30, 4.70, -27.13)
CIE-LCHlch(43.30, 27.54, 279.83°)
OKLaboklab(51.27% -0.0071 -0.0759)
OKLCHoklch(51.27% 0.076 264.7)
XYZxyz(13.4095, 13.3579, 29.4699)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516693 #937E51
analogous
#518793 #516693 #5D5193
triadic
#516693 #935166 #669351
tetradic
#516693 #935187 #937E51 #51935D
square
#516693 #935187 #937E51 #51935D
split-complementary
#516693 #935D51 #879351
monochromatic
#262F44 #3B4B6C #516693 #7185B1 #98A7C6

Accessibility & contrast

On white

5.72
#516693 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516693
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516693#FFFFFF#000000##FFFFFF
##5166931.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566A95
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#396F76
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516693;
/* rgb */ color: rgb(81, 102, 147);
/* oklch */ color: oklch(51.3% 0.076 264.7);
Tailwind
colors: {
  custom: {
    50: '#8591b3',
    500: '#516693',
    950: '#000000',
  },
}
SCSS
$custom: #516693;
$custom-light: #8591b3;
$custom-dark: #000000;
JSON
{
  "hex": "#516693",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 147
  },
  "hsl": {
    "h": 220.909,
    "s": 28.947,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.07625,
    "h": 264.7
  },
  "luminance": 0.13359
}

Semantic roles & 50–950 ramp

primary
#516693
secondary
#B3A78D
accent
#A663C5
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #516693

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

Preview Lab → · Contrast checker → · Palette generator →

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