#516AA6#516AA6

#516AA6 is a mid, moderate blue. Relative luminance 0.148; OKLCH L 53.2% C 0.099 H 266.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#516AA6
RGBrgb(81, 106, 166)
HSLhsl(222, 34%, 48%)
HSVhsv(222, 51%, 65%)
CMYKcmyk(51.2%, 36.1%, 0%, 34.9%)
CIE-LABlab(45.37, 8.21, -35.14)
CIE-LCHlch(45.37, 36.09, 283.15°)
OKLaboklab(53.18% -0.007 -0.0991)
OKLCHoklch(53.18% 0.099 266)
XYZxyz(15.4280, 14.8095, 38.1145)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AA6 #A68D51
analogous
#5194A6 #516AA6 #6251A6
triadic
#516AA6 #A6516A #6AA651
tetradic
#516AA6 #A65194 #A68D51 #51A662
square
#516AA6 #A65194 #A68D51 #51A662
split-complementary
#516AA6 #A66251 #94A651
monochromatic
#293554 #3D507D #516AA6 #778CBD #A1AFD1

Accessibility & contrast

On white

5.30
#516AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#516AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516AA6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AA6#FFFFFF#000000##FFFFFF
##516AA61.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5370A8
Deuteranopia (green-blind)
#4968A5
Tritanopia (blue-blind)
#2B7780
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #516aa6;
/* rgb */ color: rgb(81, 106, 166);
/* oklch */ color: oklch(53.2% 0.099 266.0);
Tailwind
colors: {
  custom: {
    50: '#8794c0',
    500: '#516aa6',
    950: '#000000',
  },
}
SCSS
$custom: #516aa6;
$custom-light: #8794c0;
$custom-dark: #000000;
JSON
{
  "hex": "#516aa6",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 166
  },
  "hsl": {
    "h": 222.353,
    "s": 34.413,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.09937,
    "h": 266
  },
  "luminance": 0.14811
}

Semantic roles & 50–950 ramp

primary
#516AA6
secondary
#BEB295
accent
#AA5DCA
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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