#516DAA#516DAA

#516DAA is a mid, moderate blue. Relative luminance 0.156; OKLCH L 54.1% C 0.102 H 264.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#516DAA
RGBrgb(81, 109, 170)
HSLhsl(221, 35%, 49%)
HSVhsv(221, 52%, 67%)
CMYKcmyk(52.4%, 35.9%, 0%, 33.3%)
CIE-LABlab(46.43, 7.65, -35.82)
CIE-LCHlch(46.43, 36.63, 282.05°)
OKLaboklab(54.07% -0.0097 -0.1011)
OKLCHoklch(54.07% 0.102 264.5)
XYZxyz(16.1153, 15.5878, 40.1820)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DAA #AA8E51
analogous
#519AAA #516DAA #6251AA
triadic
#516DAA #AA516D #6DAA51
tetradic
#516DAA #AA519A #AA8E51 #51AA62
square
#516DAA #AA519A #AA8E51 #51AA62
split-complementary
#516DAA #AA6251 #9AAA51
monochromatic
#2A3857 #3D5281 #516DAA #798FBF #A2B2D3

Accessibility & contrast

On white

5.10
#516DAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#516DAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DAA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DAA#FFFFFF#000000##FFFFFF
##516DAA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5572AC
Deuteranopia (green-blind)
#4B6AA9
Tritanopia (blue-blind)
#267A83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516daa;
/* rgb */ color: rgb(81, 109, 170);
/* oklch */ color: oklch(54.1% 0.102 264.5);
Tailwind
colors: {
  custom: {
    50: '#8796c3',
    500: '#516daa',
    950: '#000000',
  },
}
SCSS
$custom: #516daa;
$custom-light: #8796c3;
$custom-dark: #000000;
JSON
{
  "hex": "#516daa",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 170
  },
  "hsl": {
    "h": 221.124,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54068,
    "c": 0.10154,
    "h": 264.5
  },
  "luminance": 0.15589
}

Semantic roles & 50–950 ramp

primary
#516DAA
secondary
#C0B397
accent
#A95CCB
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #516DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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