#516AA2#516AA2

#516AA2 is a mid, moderate blue. Relative luminance 0.147; OKLCH L 53.0% C 0.094 H 265.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#516AA2
RGBrgb(81, 106, 162)
HSLhsl(221, 33%, 48%)
HSVhsv(221, 50%, 64%)
CMYKcmyk(50%, 34.6%, 0%, 36.5%)
CIE-LABlab(45.17, 6.93, -33.10)
CIE-LCHlch(45.17, 33.82, 281.83°)
OKLaboklab(52.96% -0.008 -0.0932)
OKLCHoklch(52.96% 0.094 265.1)
XYZxyz(15.0668, 14.6650, 36.2121)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AA2 #A28951
analogous
#5193A2 #516AA2 #6051A2
triadic
#516AA2 #A2516A #6AA251
tetradic
#516AA2 #A25193 #A28951 #51A260
square
#516AA2 #A25193 #A28951 #51A260
split-complementary
#516AA2 #A26051 #93A251
monochromatic
#283550 #3D4F79 #516AA2 #768BBA #9FADCF

Accessibility & contrast

On white

5.34
#516AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#516AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516AA2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AA2#FFFFFF#000000##FFFFFF
##516AA21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556FA4
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#2E767E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #516aa2;
/* rgb */ color: rgb(81, 106, 162);
/* oklch */ color: oklch(53.0% 0.094 265.1);
Tailwind
colors: {
  custom: {
    50: '#8794be',
    500: '#516aa2',
    950: '#000000',
  },
}
SCSS
$custom: #516aa2;
$custom-light: #8794be;
$custom-dark: #000000;
JSON
{
  "hex": "#516aa2",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 162
  },
  "hsl": {
    "h": 221.481,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52962,
    "c": 0.09352,
    "h": 265.1
  },
  "luminance": 0.14666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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