#516BA3#516BA3

#516BA3 is a mid, moderate blue. Relative luminance 0.149; OKLCH L 53.2% C 0.094 H 264.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#516BA3
RGBrgb(81, 107, 163)
HSLhsl(221, 34%, 48%)
HSVhsv(221, 50%, 64%)
CMYKcmyk(50.3%, 34.4%, 0%, 36.1%)
CIE-LABlab(45.51, 6.63, -33.16)
CIE-LCHlch(45.51, 33.82, 281.31°)
OKLaboklab(53.24% -0.009 -0.0933)
OKLCHoklch(53.24% 0.094 264.5)
XYZxyz(15.2597, 14.9080, 36.7167)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BA3 #A38951
analogous
#5194A3 #516BA3 #6051A3
triadic
#516BA3 #A3516B #6BA351
tetradic
#516BA3 #A35194 #A38951 #51A360
square
#516BA3 #A35194 #A38951 #51A360
split-complementary
#516BA3 #A36051 #94A351
monochromatic
#283551 #3D507A #516BA3 #768CBB #9FAECF

Accessibility & contrast

On white

5.27
#516BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#516BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BA3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BA3#FFFFFF#000000##FFFFFF
##516BA31.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5670A5
Deuteranopia (green-blind)
#4D68A2
Tritanopia (blue-blind)
#2D777F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #516ba3;
/* rgb */ color: rgb(81, 107, 163);
/* oklch */ color: oklch(53.2% 0.094 264.5);
Tailwind
colors: {
  custom: {
    50: '#8795be',
    500: '#516ba3',
    950: '#000000',
  },
}
SCSS
$custom: #516ba3;
$custom-light: #8795be;
$custom-dark: #000000;
JSON
{
  "hex": "#516ba3",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 163
  },
  "hsl": {
    "h": 220.976,
    "s": 33.607,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53239,
    "c": 0.09378,
    "h": 264.5
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#516BA3
secondary
#BCAF93
accent
#A85ECA
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516BA3

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

Preview Lab → · Contrast checker → · Palette generator →

#516BA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva