#516AAA#516AAA

#516AAA is a mid, moderate blue. Relative luminance 0.150; OKLCH L 53.4% C 0.105 H 266.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#516AAA
RGBrgb(81, 106, 170)
HSLhsl(223, 35%, 49%)
HSVhsv(223, 52%, 67%)
CMYKcmyk(52.4%, 37.6%, 0%, 33.3%)
CIE-LABlab(45.58, 9.51, -37.16)
CIE-LCHlch(45.58, 38.36, 284.35°)
OKLaboklab(53.41% -0.006 -0.105)
OKLCHoklch(53.41% 0.105 266.7)
XYZxyz(15.8007, 14.9586, 40.0771)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516AAA #AA9151
analogous
#5197AA #516AAA #6551AA
triadic
#516AAA #AA516A #6AAA51
tetradic
#516AAA #AA5197 #AA9151 #51AA65
square
#516AAA #AA5197 #AA9151 #51AA65
split-complementary
#516AAA #AA6551 #97AA51
monochromatic
#2A3657 #3D5081 #516AAA #798DBF #A2B0D3

Accessibility & contrast

On white

5.26
#516AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#516AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516AAA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516AAA#FFFFFF#000000##FFFFFF
##516AAA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5170AD
Deuteranopia (green-blind)
#4768A9
Tritanopia (blue-blind)
#277882
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #516aaa;
/* rgb */ color: rgb(81, 106, 170);
/* oklch */ color: oklch(53.4% 0.105 266.7);
Tailwind
colors: {
  custom: {
    50: '#8894c3',
    500: '#516aaa',
    950: '#000000',
  },
}
SCSS
$custom: #516aaa;
$custom-light: #8894c3;
$custom-dark: #000000;
JSON
{
  "hex": "#516aaa",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 223.146,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53409,
    "c": 0.10519,
    "h": 266.7
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#516AAA
secondary
#C0B497
accent
#AC5CCB
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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