#516BA2#516BA2

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

Color values

HEX#516BA2
RGBrgb(81, 107, 162)
HSLhsl(221, 33%, 48%)
HSVhsv(221, 50%, 64%)
CMYKcmyk(50%, 34%, 0%, 36.5%)
CIE-LABlab(45.46, 6.31, -32.65)
CIE-LCHlch(45.46, 33.25, 280.94°)
OKLaboklab(53.18% -0.0093 -0.0919)
OKLCHoklch(53.18% 0.092 264.2)
XYZxyz(15.1705, 14.8723, 36.2467)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BA2 #A28851
analogous
#5193A2 #516BA2 #6051A2
triadic
#516BA2 #A2516B #6BA251
tetradic
#516BA2 #A25193 #A28851 #51A260
square
#516BA2 #A25193 #A28851 #51A260
split-complementary
#516BA2 #A26051 #93A251
monochromatic
#283550 #3D5079 #516BA2 #768CBA #9FAECF

Accessibility & contrast

On white

5.28
#516BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#516BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BA2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BA2#FFFFFF#000000##FFFFFF
##516BA21.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5670A4
Deuteranopia (green-blind)
#4D68A1
Tritanopia (blue-blind)
#2E777F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #516ba2;
/* rgb */ color: rgb(81, 107, 162);
/* oklch */ color: oklch(53.2% 0.092 264.2);
Tailwind
colors: {
  custom: {
    50: '#8795be',
    500: '#516ba2',
    950: '#000000',
  },
}
SCSS
$custom: #516ba2;
$custom-light: #8795be;
$custom-dark: #000000;
JSON
{
  "hex": "#516ba2",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 162
  },
  "hsl": {
    "h": 220.741,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53184,
    "c": 0.09234,
    "h": 264.2
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#516BA2
secondary
#BCAF93
accent
#A75EC9
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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